UNPKG

@material-git/all

Version:
17 lines (15 loc) 510 B
/** * 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 };