File

libs/rucken/todo-web/src/lib/entities/projects/projects-grid-modal/projects-grid-modal.component.ts

Extends

BaseEntityListModalComponent

Metadata

changeDetection ChangeDetectionStrategy.OnPush
selector projects-grid-modal
templateUrl ./projects-grid-modal.component.html

Index

Properties

Constructor

constructor()

Properties

grid
Type : ProjectsGridComponent
Decorators :
@ViewChild('grid')
import { ChangeDetectionStrategy, Component, Input, ViewChild } from '@angular/core';
import { BaseEntityListModalComponent } from '@rucken/core';
import { Project } from '@rucken/todo-core';
import { BsModalRef } from 'ngx-bootstrap/modal';
import { ProjectsGridComponent } from '../projects-grid/projects-grid.component';
import { BindIoInner } from 'ngx-bind-io';

@BindIoInner()
@Component({
  selector: 'projects-grid-modal',
  templateUrl: './projects-grid-modal.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class ProjectsGridModalComponent extends BaseEntityListModalComponent<Project> {
  @ViewChild('grid')
  grid: ProjectsGridComponent;
  @Input()
  apiUrl?: string = undefined;

  constructor() {
    super();
  }
}
<entity-grid-modal [bindIO]>
    <projects-grid
        [apiUrl]="apiUrl"
        #grid>
    </projects-grid>
</entity-grid-modal>
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""