QuestionToolboxItem
A toolbox item instance.
An object of this class is returned by the QuestionToolbox
's getItemByName(name)
method.
Methods
Events
Adds a subitem to this toolbox item.
- Type:
- (item: IQuestionToolboxItem, index?: number) => void
- Parameters:
-
item, type: IQuestionToolboxItemindex, type: number ,
(Optional) A zero-based index at which to insert the subitem. If you do not specify this parameter, the subitem is added to the end.
- Implemented in:
- QuestionToolboxItem
- See also:
- removeSubitem * , clearSubitems
A category to which this toolbox item belongs.
Out-of-the-box categories include "general"
, "choice"
, "text"
, "containers"
, "matrix"
, and "misc"
.
Default value: "general"
- Type:
- string readonly
- Implemented in:
- QuestionToolboxItem
Removes all subitems from this toolbox item.
- Type:
- () => void
- Implemented in:
- QuestionToolboxItem
- See also:
- removeSubitem * , addSubitem
Specifies whether users can interact with the toolbox item.
Default value: true
- Type:
- boolean writable
- Implemented in:
- QuestionToolboxItem
A JSON object used to create a new question or panel when users click this toolbox item. It must contain the type
property.
View Toolbox Customization Demo
- Type:
- any readonly
- Implemented in:
- QuestionToolboxItem
A toolbox item identifier.
Toolbox item names must be unique.
- Type:
- string readonly
- Implemented in:
- QuestionToolboxItem
Removes a specific subitem from this toolbox item.
- Type:
- (item: string | IQuestionToolboxItem) => void
- Parameters:
-
item, type: string | IQuestionToolboxItem
- Implemented in:
- QuestionToolboxItem
- See also:
- clearSubitems * , addSubitem
A toolbox item tooltip.
If tooltip
is undefined, the title
property value is used instead.
- Type:
- string readonly
- Implemented in:
- QuestionToolboxItem
Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.