Resolved dismissable/addable surface for <cngx-tab-group>
CngxTabDismissals
Interface
projects/common/tabs/dismissals/tab-dismissals.ts
Referenced by#
Import#
import { CngxTabDismissals } from '@cngx/common/tabs'
Description#
Resolved dismissable/addable surface for <cngx-tab-group>.
The organism holds this as one field and the template reads it.
Index#
Instance Properties#
Methods#
closeIconContextFor#
CngxTabCloseIconContextcloseIconContextFor(tab: CngxTabHandle)Stable *cngxTabCloseIcon context ({ tab }) per tab.
handleClose(tab: CngxTabHandle, event?: Event)Close a tab and restore focus to the new active tab / add button.
handleTabKeydown(tab: CngxTabHandle, event: KeyboardEvent)Delete on a focused closable tab requests its close (APG).
@paramevent
KeyboardEvent