mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(docs): updating dgeni typescript package
This commit is contained in:
@@ -85,29 +85,29 @@ export class Scroll {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
maxScale: number = 3;
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
zoomDuration: number = 250;
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
scrollElement: HTMLElement;
|
||||
|
||||
constructor(private _elementRef: ElementRef) {}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.scrollElement = this._elementRef.nativeElement.children[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @hidden
|
||||
* Add a scroll event handler to the scroll element if it exists.
|
||||
* @param {Function} handler The scroll handler to add to the scroll element.
|
||||
* @returns {?Function} a function to remove the specified handler, otherwise
|
||||
|
||||
Reference in New Issue
Block a user