import { DaffSidebarHeaderComponent } from '@daffodil/design/sidebar'
Sidebar header is a child component of the sidebar that is used to display a header container,
positioned at the top of a sidebar. It includes an optional title ([daffSidebarHeaderTitle]
)
slot and a slot to render any custom content.
<daff-sidebar-header></daff-sidebar-header>
@Component()
class DaffSidebarHeaderComponent {
@Input() @HostBinding() dismissible: boolean = false
@Output() closeSidebar: EventEmitter<void> = new EventEmitter()
}
boolean
Default | false |
---|---|
Description | Whether or not a sidebar header should display the close icon. |
EventEmitter<void>
Default | – |
---|---|
Description | Output event triggered when the close icon is clicked. |