WjCollectionViewNavigator Class

File
wijmo.angular2.js
Module
wijmo/wijmo.angular2.input

Angular 2 component for an ICollectionView navigator element.

Use the wj-collection-view-navigator component to add an element that allows users to navigate through the items in an ICollectionView. For details about Angular 2 markup syntax, see Angular 2 Markup. For example:

<wj-collection-view-navigator 
  [cv]="myCollectionView">
</wj-collection-view-navigator>

Properties

Methods

Properties

initialized

This event is triggered after the component has been initialized by Angular, that is all bound properties have been assigned and child components (if any) have been initialized.

Type
EventEmitter

isInitialized

Indicates whether the component has been initialized by Angular. Changes its value from false to true right before triggering the initialized event.

Type
boolean

wjModelProperty

Defines a name of a property represented by [(ngModel)] directive (if specified). Default value is ''.

Type
string

Methods

created

created(): void

If you create a custom component inherited from a Wijmo component, you can override this method and perform necessary initializations that you usually do in a class constructor. This method is called in the last line of a Wijmo component constructor and allows you to not declare your custom component's constructor at all, thus preventing you from a necessity to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.

Returns
void