UNPKG

laya-coreui-es

Version:

laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改

47 lines (46 loc) 1.32 kB
/** * <code>Styles</code> 定义了组件常用的样式属性。 */ export declare class Styles { /** * 默认九宫格信息。 * @see laya.ui.AutoBitmap#sizeGrid */ static defaultSizeGrid: any[]; /** * 标签颜色。 */ static labelColor: string; /** * 标签的边距。 * <p><b>格式:</b>[上边距,右边距,下边距,左边距]。</p> */ static labelPadding: any[]; /** * 标签的边距。 * <p><b>格式:</b>[上边距,右边距,下边距,左边距]。</p> */ static inputLabelPadding: any[]; /** * 按钮皮肤的状态数,支持1,2,3三种状态值。 */ static buttonStateNum: number; /** * 按钮标签颜色。 * <p><b>格式:</b>[upColor,overColor,downColor,disableColor]。</p> */ static buttonLabelColors: any[]; /** * 下拉框项颜色。 * <p><b>格式:</b>[overBgColor,overLabelColor,outLabelColor,borderColor,bgColor]。</p> */ static comboBoxItemColors: any[]; /** * 滚动条的最小值。 */ static scrollBarMinNum: number; /** * 长按按钮,等待时间,使其可激活连续滚动。 */ static scrollBarDelayTime: number; }