блочно > IToolbox > selectItemByPosition
Выбирает элемент панели инструментов по его положению в списке элементов панели инструментов.
Подпись:
selectItemByPosition(position: number): void;
Параметры
Параметр | Тип | Описание |
---|
позиция | число | Положение выбираемого элемента. |
Возврат:
пустота
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-04 UTC.
[null,null,["Последнее обновление: 2025-01-04 UTC."],[[["The `selectItemByPosition()` method selects an item within the toolbox based on its position in the list."],["It takes one parameter: `position`, which is a number representing the position of the item to be selected."],["Calling this method does not return any value (void)."]]],["The `IToolbox.selectItemByPosition()` method selects a toolbox item based on its numerical position within the list of items. It accepts a single parameter, `position`, which is a number representing the desired item's index. The method returns `void`, indicating it does not return any value upon completion. The action is to choose the toolbox item at the specified position.\n"]]