Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / controls / LinChannelSelectControlProps
Interface: LinChannelSelectControlProps
Properties of the LinChannelSelectControl React component.
Properties
channelIdentifier
channelIdentifier:
string
Identifier of the selected channel.
collapsed?
optionalcollapsed?:boolean
Current collapse state of the SectionControl.
collapsedChange?
optionalcollapsedChange?: (value) =>void
Callback that will be called when collapse state has changed.
Parameters
value
boolean
The new collapse state.
Returns
void
collapsible?
optionalcollapsible?:boolean
Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true.
disabled?
optionaldisabled?:boolean
Set to true to disable this control.
hideSectionControl?
optionalhideSectionControl?:boolean
Set to true if this control shouldn’t be encapsulated inside a SectionControl.
onChannelIdentifierChange
onChannelIdentifierChange: (
identifier) =>void
Callback that will be called when a new channel has been selected.
Parameters
identifier
string
The new channel identifier.
Returns
void
selectMasterChannels
selectMasterChannels:
boolean
If true, master channels will be selected and otherwise slave channels.