| 12345678910111213141516 |
- import { GUI } from '../../core';
- import type { Group } from '../../shapes';
- import type { CheckboxOptions, CheckboxStyleProps } from './types';
- export type { CheckboxStyleProps, CheckboxOptions };
- export declare class Checkbox extends GUI<CheckboxStyleProps> {
- /**
- * 组件 checkbox
- */
- static tag: string;
- /** checkbox 的背景方框组件 */
- private checkboxBoxShape;
- /** 值 */
- private checked;
- constructor(options: CheckboxOptions);
- render(attributes: Required<CheckboxStyleProps>, container: Group): void;
- }
|