List is a flexible component that can be used to display a series of content. It can be modified to support a range of content types.
import { DaffListComponent } from '@daffodil/design/list'
@Component()
class DaffListComponent {}
import { DaffListItemComponent } from '@daffodil/design/list'
@Component()
class DaffListItemComponent {
@Input() @HostBinding() active: boolean = false
}
boolean
Default | false |
---|---|
Description | Whether or not the header item is active |
import { DaffListModule } from '@daffodil/design/list'
@NgModule()
class DaffListModule {}
import { DaffListType } from '@daffodil/design/list'
type DaffListType = 'daff-list' | 'daff-nav-list'