mirror of
https://github.com/google/blockly.git
synced 2026-01-21 15:57:10 +01:00
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning. Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
40 lines
827 B
JavaScript
40 lines
827 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.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
/**
|
|
* 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;
|