Kui API Documentation - v11.0.0 / @kui-shell/plugin-client-common / TabModel
@kui-shell/plugin-client-common.TabModel
• new TabModel(_uuid?
, desiredStatusStripeDecoration?
, doNotChangeActiveTab?
, _title?
, _state?
, _buttons?
, _initialCommandLine?
, _onClose?
, _exec?
)
Name | Type | Default value |
---|---|---|
_uuid |
string |
undefined |
desiredStatusStripeDecoration? |
StatusStripeChangeEvent |
undefined |
doNotChangeActiveTab? |
boolean |
undefined |
_title? |
string |
undefined |
_state |
default |
undefined |
_buttons |
TopTabButton <{ key : string }>[] |
[] |
_initialCommandLine? |
string |
undefined |
_onClose? |
string |
undefined |
_exec? |
"pexec" | "qexec" |
undefined |
plugins/plugin-client-common/src/components/Client/TabModel.ts:30
• get
buttons(): TopTabButton
<{ key
: string
}>[]
TopTabButton
<{ key
: string
}>[]
plugins/plugin-client-common/src/components/Client/TabModel.ts:56
• get
exec(): "pexec"
| "qexec"
"pexec"
| "qexec"
plugins/plugin-client-common/src/components/Client/TabModel.ts:76
• get
initialCommandLine(): string
string
plugins/plugin-client-common/src/components/Client/TabModel.ts:68
• get
onClose(): string
string
plugins/plugin-client-common/src/components/Client/TabModel.ts:72
• get
state(): default
default
plugins/plugin-client-common/src/components/Client/TabModel.ts:52
• get
title(): string
string
plugins/plugin-client-common/src/components/Client/TabModel.ts:60
• get
uuid(): string
string
plugins/plugin-client-common/src/components/Client/TabModel.ts:48
▸ setTitle(newTitle
): TabModel
Name | Type |
---|---|
newTitle |
string |
plugins/plugin-client-common/src/components/Client/TabModel.ts:64
▸ update(buttons
, newTitle?
): TabModel
Name | Type |
---|---|
buttons |
TopTabButton <{ key : string }>[] |
newTitle? |
string |
plugins/plugin-client-common/src/components/Client/TabModel.ts:80