1/** 2 * @license 3 * Copyright The Closure Library Authors. 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/** 8 * @fileoverview Enum for button side constants. In its own file so as to not 9 * cause a circular dependency with {@link goog.ui.ButtonRenderer}. 10 */ 11 12goog.provide('goog.ui.ButtonSide'); 13 14 15/** 16 * Constants for button sides, see {@link goog.ui.Button.prototype.setCollapsed} 17 * for details. 18 * @enum {number} 19 */ 20goog.ui.ButtonSide = { 21 /** Neither side. */ 22 NONE: 0, 23 /** Left for LTR, right for RTL. */ 24 START: 1, 25 /** Right for LTR, left for RTL. */ 26 END: 2, 27 /** Both sides. */ 28 BOTH: 3 29}; 30 31