blockly > ISelectable > sélectionner
Méthode ISelectable.select()
Sélectionnez cette option. Mettez-la en valeur visuellement.
Signature :
select(): void;
Renvoie :
vide
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/11 (UTC).
[null,null,["Dernière mise à jour le 2024/09/11 (UTC)."],[[["The `select()` method is part of the `ISelectable` interface in Blockly and is used to visually highlight a selectable element."],["This method has no parameters and does not return any value, simply applying a visual selection to the element it's called on."],["By invoking `select()` on an object implementing `ISelectable`, developers trigger the visual highlighting, signaling its selection status to the user."]]],["The `ISelectable.select()` method is designed to visually highlight an object. Its core function is to select the current object, changing its appearance to indicate that it is currently selected. This method takes no parameters and does not return any value (void). The primary action is to visually select and highlight the object when the method is invoked.\n"]]