docs(content): update content functions to private

This commit is contained in:
Brandy Carney
2016-02-29 16:30:16 -05:00
parent 834d6c690e
commit 17c2fe52b9

View File

@ -279,18 +279,30 @@ export class Content extends Ion {
return this._scrollTo.start(0, 0, 300, 0);
}
/**
* @private
*/
getScrollTop(): number {
return this.getNativeElement().scrollTop;
}
/**
* @private
*/
addCssClass(className: string) {
this.getNativeElement().classList.add(className);
}
/**
* @private
*/
removeCssClass(className: string) {
this.getNativeElement().classList.remove(className);
}
/**
* @private
*/
setScrollElementStyle(prop: string, val: any) {
this.scrollElement.style[prop] = val;
}