File "i_copyable.js"

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

Download   Open   Back

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

/**
 * @fileoverview The interface for an object that is copyable.
 * @author [email protected] (Sam El-Husseini)
 */

'use strict';

goog.provide('Blockly.ICopyable');

goog.requireType('Blockly.ISelectable');
goog.requireType('Blockly.WorkspaceSvg');


/**
 * @extends {Blockly.ISelectable}
 * @interface
 */
Blockly.ICopyable = function() {};

/**
 * Encode for copying.
 * @return {?Blockly.ICopyable.CopyData} Copy metadata.
 */
Blockly.ICopyable.prototype.toCopyData;

/**
 * Copy Metadata.
 * @typedef {{
 *            xml:!Element,
 *            source:Blockly.WorkspaceSvg,
 *            typeCounts:?Object
 *          }}
 */
Blockly.ICopyable.CopyData;

PHP File Manager