sesaparcours
    Preparing search index...
    • Opens a prompt that allows the user to enter a new name for a variable. Triggers a rename if the new name is valid. Or re-prompts if there is a collision.

      Parameters

      • workspace: Blockly.Workspace

        The workspace on which to rename the variable.

      • variable: Blockly.VariableModel

        Variable to rename.

      • Optionalopt_callback: (_0: string) => any

        A callback. It will be passed an acceptable new variable name, or null if change is to be aborted (cancel button), or undefined if an existing variable was chosen.

      Returns void