A square button that holds a single icon.
The large size is the 36px header button. Set [rounded]="false" for the rounded-square shape of the NgDoc header.
- Decorators
@Component - Selectors
button[ng-doc-button-icon ]a[ng-doc-button-icon ]button[ng-doc-button-icon-raised ]a[ng-doc-button-icon-raised ]button[ng-doc-button-icon-transparent ]a[ng-doc-button-icon-transparent ]
DeclarationTypeScript
@Component ({ … })
export class NgDocButtonIconComponent { … }Members
Properties2 | |
rounded: | Whether the button is a circle. When |
size: | Size of the button: |
No members match.
Example usage
<button ng-doc-button-icon size="large" [rounded]="false" aria-label="Open menu">
<ng-doc-icon icon="menu" />
</button>