mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
31 lines
599 B
JavaScript
31 lines
599 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Interface for a workspace component that can be registered with
|
|
* the ComponentManager.
|
|
* @author kozbial@google.com (Monica Kozbial)
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
goog.provide('Blockly.IComponent');
|
|
|
|
|
|
/**
|
|
* The interface for a workspace component that can be registered with the
|
|
* ComponentManager.
|
|
* @interface
|
|
*/
|
|
Blockly.IComponent = function() {};
|
|
|
|
/**
|
|
* The unique id for this component that is used to register with the
|
|
* ComponentManager.
|
|
* @type {string}
|
|
*/
|
|
Blockly.IComponent.id;
|