File "i_styleable.js"

Full path: /usr/home/mndrn/domains/mndrn.ru/public_html/block-hill/blockly/core/interfaces/i_styleable.js
File size: 740 B
MIME-type: text/plain
Charset: utf-8

Download   Open   Back

/**
 * @license
 * Copyright 2020 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @fileoverview The interface for an object that a style can be added to.
 * @author [email protected] (Abby Schmiedt)
 */

'use strict';

goog.provide('Blockly.IStyleable');


/**
 * Interface for an object that a style can be added to.
 * @interface
 */
Blockly.IStyleable = function() {};

/**
 * Adds a style on the toolbox. Usually used to change the cursor.
 * @param {string} style The name of the class to add.
 */
Blockly.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.
 */
Blockly.IStyleable.prototype.removeStyle;

PHP File Manager