docs(label): make inputs private

This commit is contained in:
mhartington
2016-02-01 15:39:36 -05:00
parent 276b509c9a
commit 860dd672b1

View File

@ -50,6 +50,9 @@ import {Directive, ElementRef, Renderer, Input, Optional, Attribute} from 'angul
export class Label {
private _id: string;
/**
* @private
*/
type: string;
constructor(
@ -63,6 +66,9 @@ export class Label {
this.type = (isFloating === '' ? 'floating' : (isStacked === '' ? 'stacked' : (isFixed === '' ? 'fixed' : (isInset === '' ? 'inset' : null))));
}
/**
* @private
*/
@Input()
get id(): string {
return this._id;
@ -75,6 +81,9 @@ export class Label {
}
}
/**
* @private
*/
get text(): string {
return this._elementRef.nativeElement.textContent || '';
}