DaffSizableDirective

The DaffSizableDirective allows for dynamic sizing of a component by setting CSS classes based on the specified size.

Example

<div daffSizable [size]="componentSize">Sized content</div>

Selector: '[daffSizable]'

Properties

Name Type Description
@Input() size T The size of a component. defaultSize T Sets a default size when no size is provided.
ngOnChanges
ngOnInit
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.