Disableable enforces consistent use of the disabled property across components.
import { DaffDisableableDirective } from '@daffodil/design'
Enforces consistent use of the disabled property.
@Directive()
class DaffDisableableDirective {
disabled: ModelSignal<boolean> = model(false)
}
ModelSignal<boolean>| Default | model(false) |
|---|---|
| Description | Whether the component is disabled. |
import { DaffDisableable } from '@daffodil/design'
An interface for any component or directive that can be disabled.
interface DaffDisableable {
disabled: boolean
}