Class: EvamAppBarContextModel¶
component/appbar/EvamTabContext.EvamAppBarContextModel
Context data model for the Evam App bar component
Constructors¶
constructor¶
new EvamAppBarContextModel(activeTabId
, previousActiveTabId
, subTabId
, setActiveTabId
, setPreviousActiveTabId
, setSubTabId
, specialComponent
, setSpecialComponent
, isMenuOpen
, setIsMenuOpen
)
Parameters¶
Name |
Type |
---|---|
|
|
|
|
|
|
|
( |
|
( |
|
( |
|
|
|
( |
|
|
|
( |
Properties¶
activeTabId¶
activeTabId: number
previousActiveTabId¶
previousActiveTabId: number
setSpecialComponent¶
setSpecialComponent: (_
: ReactNode
) => void
Type declaration¶
(_
): void
Parameters¶
Name |
Type |
---|---|
|
|
Returns¶
void
specialComponent¶
specialComponent: ReactNode
subTabId¶
subTabId: number
Methods¶
handleChange¶
handleChange(event
, newValue
): void
Parameters¶
Name |
Type |
---|---|
|
|
|
|
Returns¶
void
setActiveTab¶
setActiveTab(id
): void
Parameters¶
Name |
Type |
---|---|
|
|
Returns¶
void