blockly
Version:
Blockly is a library for building visual programming editors.
40 lines (31 loc) • 838 B
JavaScript
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The interface for an object that a style can be added to.
*/
;
/**
* The interface for an object that a style can be added to.
* @namespace Blockly.IStyleable
*/
goog.module('Blockly.IStyleable');
/**
* Interface for an object that a style can be added to.
* @interface
* @alias Blockly.IStyleable
*/
const IStyleable = function() {};
/**
* Adds a style on the toolbox. Usually used to change the cursor.
* @param {string} style The name of the class to add.
*/
IStyleable.prototype.addStyle;
/**
* Removes a style from the toolbox. Usually used to change the cursor.
* @param {string} style The name of the class to remove.
*/
IStyleable.prototype.removeStyle;
exports.IStyleable = IStyleable;