The DaffSizableDirective allows for dynamic sizing of a component by setting
CSS classes based on the specified size.
<div daffSizable [size]="componentSize">Sized content</div>
Selector:
'[daffSizable]'
| Name | Type | Description | |||
|---|---|---|---|---|---|
| @Input() size | T | The size of a component. | defaultSize | T | Sets a default size when no size is provided. |
| ngOnChanges | |||||
| ngOnInit |