NgDocButtonComponent
Decorators: |
|
Selectors: | button[ a[ button[ a[ button[ a[ |
is a reusable button component with customizable properties. It can be used as a regular button, a flat button, or a text button.
Properties
Name | Type | Description |
---|---|---|
color |
| Color of the button. Can be 'primary', 'secondary', etc. Default is 'primary'. |
rounded | boolean | Whether the button is rounded or not. Default is false. |
size |
| Size of the button. Can be 'small', 'medium', or 'large'. Default is 'small'. |
Example usage
<button ng-doc-button [size]="'large'" [color]="'secondary'" [rounded]="true">Click me</button>