GitHub

Disableable

Disableable enforces consistent use of the disabled property across components.

Directives

DaffDisableableDirective

import { DaffDisableableDirective } from '@daffodil/design'

Enforces consistent use of the disabled property.

@Directive()
class DaffDisableableDirective {
  @Input() disabled: boolean = false
}

Inputs

disabled
boolean
Defaultfalse
Description

Whether the component is disabled.


Types

DaffDisableable

import { DaffDisableable } from '@daffodil/design'

An interface for any component or directive that can be disabled.

interface DaffDisableable {
  disabled: boolean
}