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 {
@Input() disabled: boolean = false
}
boolean| Default | 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
}