PropertyAttributeDescriptionTypeDefaultactiveIdentifier active-identifierDefines which drilldown-item to be visualized as opened.string | undefinedundefinedaria ariaAdd ARIA attributes.type DrilldownAriaAttribute = { 'aria-label'?: string; }undefinedopen openIf true, the drilldown is visualized as opened.booleanfalsetheme themeAdapts the drilldown color depending on the theme.type Theme = 'light' 'dark' 'auto''light'
Events
prev
next
EventDescriptionTypedismiss Emitted when the component requests to be dismissed.CustomEvent<void>update Emitted when activeIdentifier is changed.type DrilldownUpdateEventDetail = { activeIdentifier: string | undefined; } CustomEvent<DrilldownUpdateEventDetail>
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot to render p-drilldown items.
PropertyAttributeDescriptionTypeDefaultcascade cascadePrivate property set by the component itself.booleanfalseidentifier identifierUnique identifier which controls if this item should be shown when the active-identifier on the drilldown is set to this value.stringundefinedlabel labelRenders back button, header section on mobile view and cascade button to reach a deeper level of the navigation structure.stringundefinedprimary primaryPrivate property set by the component itself.booleanfalsesecondary secondaryPrivate property set by the component itself.booleanfalse
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot for the main content.<slot name="button"> Shows a custom button to reach a deeper level of the navigation structure.<slot name="header"> Shows a custom header section on mobile view
PropertyAttributeDescriptionTypeDefaultactive activeDisplay link in active state.booleanfalsearia ariaAdd ARIA attributes (only has effect when href is defined and no slotted anchor is used).type DrilldownLinkAriaAttribute = { 'aria-label'?: string; 'aria-current'?: string; 'aria-haspopup'?: string; }undefineddownload downloadSpecial download attribute to open native browser download dialog if target url points to a downloadable file (only has effect when href is defined and no slotted anchor is used).stringundefinedhref hrefWhen providing an url then the component will be rendered as <a> otherwise the component expects a slotted anchor.stringundefinedrel relSpecifies the relationship of the target object to the link object (only has effect when href is defined and no slotted anchor is used).stringundefinedtarget targetTarget attribute where the link should be opened (only has effect when href is defined and no slotted anchor is used).type DrilldownLinkTarget = '_self' '_blank' '_parent' '_top' string'_self'
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot to render the link label.