Interface: IListPaneSlot experimental
Beta
List Pane slot
Properties
entryCount
readonlyentryCount:number
Beta
Remarks
Count of entries.
id
readonlyid:string
Beta
Remarks
Unique identifier of the slot.
paneId
readonlypaneId:string
Beta
Remarks
Unique identifier of the parent pane.
selected
readonlyselected:boolean
Beta
Remarks
Selected state of the slot.
tags
readonlytags: readonlystring[]
Beta
Remarks
List of tags associated with the slot.
title
readonlytitle:LocalizedString
Beta
Remarks
Count of entries.
Methods
getEntry()
getEntry<
K>(index,type?):KextendsListPaneEntryType?ListPaneEntryMap[K] :IListPaneEntry|undefined
Beta
Type Parameters
K
K extends ListPaneEntryType | undefined = undefined
Parameters
index
number
Sequence index of the entry in the slot.
type?
K
Optional type check for the entry.
Returns
K extends ListPaneEntryType ? ListPaneEntryMap[K] : IListPaneEntry | undefined
Remarks
Finds the entry with the index if it exists.
getUserData()
getUserData():
unknown
Beta
Returns
unknown
User data associated with the slot.
Remarks
setSelected()
setSelected(
selected):void
Beta
Parameters
selected
boolean
New selected state.
Returns
void
Remarks
Updates selected state of the slot.
setTags()
setTags(
tags):void
Beta
Parameters
tags
string[] | undefined
New tag list.
Returns
void
Remarks
Updates tags of the slot.
setTitle()
setTitle(
title):void
Beta
Parameters
title
New title.
Returns
void
Remarks
Updates title of the slot.
setUserData()
setUserData(
data):void
Beta
Parameters
data
unknown
New user data.
Returns
void
Remarks
Updates user data associated with the slot
