SkawaForDirective<T> class

This directive based on the NgFor in usage. It should be usable only in a SkawaListWrapperComponent,

Example usage:

Inputs:

  • itemHeight: The minimal item height of the rendered component.
Annotations
  • @Directive(selector: '[skawaFor][skawaForOf]', exportAs: 'skawaFor')

Constructors

SkawaForDirective(ViewContainerRef viewContainerRef, TemplateRef _templateRef, SkawaListWrapperComponent skawaListParent, NgZone _ngZone)

Properties

disposer → Disposer
final
hashCode int
The hash code for this object.
read-onlyinherited
onLoad Stream<Null>
@Output('load')read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollHeight int
read / write
skawaForOf SkawaForSource<T>
@Input()write-only
skawaListParent SkawaListWrapperComponent
final
startIndex int
read / write
topHeight int
read / write
viewContainerRef → ViewContainerRef
final

Methods

calculatedItemHeight(T item) int
ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
override
ngOnInit() → void
Executed after the first change detection run for a directive.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
subListHeight(int startIndex, [int endIndex]) int
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited