GitHub

DaffFlatButtonComponent

DaffFlatButtonComponent is a rectangular contained button no background.

import { DaffFlatButton } from '@daffodil/design/button';
import { DaffFlatButtonComponent } from '@daffodil/design/button'
@Component()
class DaffFlatButtonComponent extends DaffButtonBaseDirective {}
Selector: 'button[daff-flat-button]' + ',' + 'a[daff-flat-button]'

Examples

Flat button

<button daff-flat-button>
 <div daffPrefix></div>
 Flat Button
 <div daffSuffix></div>
</button>

<a href="/" daff-flat-button>
 <div daffPrefix></div>
 Linked flat button
 <div daffSuffix></div>
</a>