UNPKG

@visactor/vtable

Version:

canvas table width high performance

37 lines (36 loc) 1.48 kB
import type { IStyleOption, SwitchStyleOption } from '../../ts-types'; import { Style } from '../style'; import type { SwitchStyle as SwitchStyleThemeOption } from '../../ts-types/column/style'; export declare class SwitchStyle extends Style { private _spaceBetweenTextAndCircle; private _circleRadius; private _boxWidth; private _boxHeight; private _checkedFill; private _uncheckedFill; private _disableCheckedFill; private _disableUncheckedFill; private _circleFill; static get DEFAULT(): SwitchStyle; constructor(style?: SwitchStyleOption, headerStyle?: SwitchStyleOption, switchThemeStyle?: SwitchStyleThemeOption); get spaceBetweenTextAndCircle(): number; set spaceBetweenTextAndCircle(spaceBetweenTextAndCircle: number); get circleRadius(): number; set circleRadius(circleRadius: number); get boxWidth(): number; set boxWidth(boxWidth: number); get boxHeight(): number; set boxHeight(boxHeight: number); get checkedFill(): string; set checkedFill(checkedFill: string); get uncheckedFill(): string; set uncheckedFill(uncheckedFill: string); get disableCheckedFill(): string; set disableCheckedFill(disableCheckedFill: string); get disableUncheckedFill(): string; set disableUncheckedFill(disableUncheckedFill: string); get circleFill(): string; set circleFill(circleFill: string); getStyle(style: IStyleOption): SwitchStyle; clone(): SwitchStyle; }