@angular2-material/core
Version:
Angular 2 Material core
17 lines (15 loc) • 494 B
TypeScript
/**
* Annotation Factory that allows HTML style boolean attributes. For example,
* a field declared like this:
* @Directive({ selector: 'component' }) class MyComponent {
* @Input() @BooleanFieldValueFactory() myField: boolean;
* }
*
* You could set it up this way:
* <component myField>
* or:
* <component myField="">
* @deprecated
*/
declare function booleanFieldValueFactory(): (target: any, key: string) => void;
export { booleanFieldValueFactory as BooleanFieldValue };