src/dropdown/list/scroll-custom-event.interface.ts
A custom structure that represents a custom event to emit when scroll.
Example :export interface ScrollCustomEvent {
atTop: boolean;
atBottom: boolean;
event: Event;
}
Properties |
atBottom |
atBottom:
|
Type : boolean
|
Flag to communicate if scroll is at the bottom of container |
atTop |
atTop:
|
Type : boolean
|
Flag to communicate if scroll is at the top of container |
event |
event:
|
Type : Event
|
Complete Scroll event available to get any more data required |
export interface ScrollCustomEvent {
/**
* Flag to communicate if scroll is at the top of container
*/
atTop: boolean;
/**
* Flag to communicate if scroll is at the bottom of container
*/
atBottom: boolean;
/**
* Complete Scroll event available to get any more data required
*/
event: Event;
}