packages/components/directives/eui-smooth-scroll.directive.ts
OnInit
| Selector | [euiSmoothScroll] |
Methods |
Inputs |
HostListeners |
| callbackAfter |
Type : any
|
| callbackBefore |
Type : any
|
| containerId |
Type : string
|
| duration |
Type : number
|
| easing |
Type : string
|
| middleAlign |
Type : any
|
| offset |
Type : number
|
| scrollIf |
Type : boolean
|
| scrollOnClick |
Type : boolean
|
| click |
Arguments : '$event.target'
|
| onClick | ||||
onClick(target)
|
||||
Decorators :
@HostListener('click', ['$event.target'])
|
||||
|
Parameters :
Returns :
void
|