Files
ng2-file-upload/build/node_modules/ng2-bootstrap/components/buttons/button-checkbox.d.ts
2016-02-02 18:42:21 +02:00

21 lines
652 B
TypeScript

import { OnInit } from 'angular2/core';
import { ControlValueAccessor, NgModel } from 'angular2/common';
export declare class ButtonCheckbox implements ControlValueAccessor, OnInit {
cd: NgModel;
private btnCheckboxTrue;
private btnCheckboxFalse;
private state;
private onClick();
private value;
constructor(cd: NgModel);
ngOnInit(): void;
private trueValue;
private falseValue;
private toggle(state);
writeValue(value: any): void;
protected onChange: (_: any) => void;
protected onTouched: () => void;
registerOnChange(fn: (_: any) => {}): void;
registerOnTouched(fn: () => {}): void;
}