/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview The interface for a component that is automatically hidden * when Blockly.hideChaff is called. * @author kozbial@google.com (Monica Kozbial) */ 'use strict'; goog.provide('Blockly.IAutoHideable'); goog.require('Blockly.IComponent'); /** * Interface for a component that can be automatically hidden. * @extends {Blockly.IComponent} * @interface */ Blockly.IAutoHideable = function() {}; /** * Hides the component. Called in Blockly.hideChaff. * @param {boolean} onlyClosePopups Whether only popups should be closed. * Flyouts should not be closed if this is true. */ Blockly.IAutoHideable.prototype.autoHide;