References #740
This commit is contained in:
mhartington
2015-12-14 18:13:08 -05:00
parent a801a09991
commit b0d685ea85
7 changed files with 38 additions and 5 deletions

View File

@@ -66,10 +66,16 @@ export class Button {
this._readIcon(element);
}
/**
* @private
*/
ngAfterContentInit() {
this._assignCss(true);
}
/**
* @private
*/
setRole(val) {
this._role = val;
}
@@ -162,6 +168,9 @@ export class Button {
}
}
/**
* @private
*/
static setRoles(contentButtonChildren, role) {
let buttons = contentButtonChildren.toArray();
buttons.forEach(button => {