/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { EventEmitter, ElementRef, Renderer } from '@angular/core'; import { OnInit } from '@angular/core'; import { FormControl } from '../input/form.control'; import { CheckboxGroup } from './checkbox.group'; export declare class Checkbox extends FormControl implements OnInit { private renderer; private elementRef; private compositionMode; private group; /** 样式前缀 */ prefixCls: string; /** 指定当前是否选中 */ checked: boolean; /** 设置 indeterminate 状态,只负责样式控制 */ indeterminate: boolean; /** 是否只读状态,默认为 false */ readOnly: boolean; /** 用户CSS样式 */ class: string; /** 内部输入控件的tabIndex属性,默认情况下无需关注 */ tabIndex: string; /** 值变更事件 */ change: EventEmitter; /** Check变更事件 */ check: EventEmitter; /** 内部默认的控件 */ type: string; constructor(renderer: Renderer, elementRef: ElementRef, compositionMode: boolean, group: CheckboxGroup); getWrapperClass(): any; getBoxClass(): any; getPrefixCls(): string; isGroupDisabled(): boolean; ngOnInit(): void; writeValue(value: any): void; handleChange(event: Event): void; /** * 如果Checkbox在CheckboxGroup内部,则触发CheckboxGroup的值变化 */ makeGroupChange(): void; }