<commit_before>@cheatsheetSection
Class field decorators for directives and components
@cheatsheetIndex 7
@description
`import 'package:angular2/core.dart';`

@cheatsheetItem
syntax:
`@Input() myProperty;`|`@Input()`
description:
Declares an input property that you can update via property binding (example:
`<my-cmp [myProperty]="someExpression">`).


@cheatsheetItem
syntax:
`@Output() myEvent = new EventEmitter();`|`@Output()`
description:
Declares an output property that fires events that you can subscribe to with an event binding (example: `<my-cmp (myEvent)="doSomething()">`).


@cheatsheetItem
syntax:
`@HostBinding('[class.valid]') isValid;`|`@HostBinding('[class.valid]')`
description:
Binds a host element property (here, the CSS class `valid`) to a directive/component property (`isValid`).


@cheatsheetItem
syntax:<commit_msg>Fix cheatsheet item for @HostBinding.<commit_after>@cheatsheetSection
Class field decorators for directives and components
@cheatsheetIndex 7
@description
`import 'package:angular2/core.dart';`

@cheatsheetItem
syntax:
`@Input() myProperty;`|`@Input()`
description:
Declares an input property that you can update via property binding (example:
`<my-cmp [myProperty]="someExpression">`).


@cheatsheetItem
syntax:
`@Output() myEvent = new EventEmitter();`|`@Output()`
description:
Declares an output property that fires events that you can subscribe to with an event binding (example: `<my-cmp (myEvent)="doSomething()">`).


@cheatsheetItem
syntax:
`@HostBinding('class.valid') isValid;`|`@HostBinding('class.valid')`
description:
Binds a host element property (here, the CSS class `valid`) to a directive/component property (`isValid`).


@cheatsheetItem
syntax:
{'fraction_non_alphanumeric': 0.1336459554513482, 'fraction_numerical': 0.0023446658851113715, 'mean_word_length': 7.535, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2008358', 'n_tokens_mistral': 535, 'n_tokens_neox': 510, 'n_words': 163}