Günter Zöchbauer

Results 303 comments of Günter Zöchbauer

Angular 4.0.0 Dart VM version: 1.25.0-dev.16.0 (Tue Sep 5 08:11:48 2017) on "macos_x64"

Besides that - +💯 for the plugin now being integrated into angular and the analyzer and so easy to enable.

except when it's a raw string ```dart ... template: r'click me', ... ```

There are two ways of binding to styles ```html [style.background-color]="'red'" ``` or ```html [ngStyle]="{'background-color': 'red', 'margin': 'solid 3px bue'}" ``` The classes `CssStyleDeclarationBase` and `CssStyleDeclaration` seem to list all style...

`ngModel` can go on any element that is either a native input element or where a component or directive is applied that implements `ControlValueAccessor`

See also https://github.com/dart-lang/angular2/blob/1b71b61f73f43adcede21470c62e943bed635f69/lib/src/common/forms/directives/ng_model.dart#L76 where `NG_VALUE_ACCESSOR` is the only non-optional dependency `ControlValueAccessor`s are registered with `NG_VALUE_ACCESSOR` (see https://github.com/dart-lang/angular2/blob/164b20a4cd06a1953efcc3ce15d302b31557570e/lib/src/common/forms/directives/default_value_accessor.dart#L8 for an example)

It would also only matter if there is no wrapping element that guards against `null` like ```html {{myObject.myField}} {{myObject.myOtherField}} ``` which is also a common way to deal with late...

Some more context ```html ``` ```dart bool model; void update(bool value) { ... } ``` > Dart VM version: 1.22.0-edge.7730809f360a00d9683057ffcfb9651453e7c1f4 (Sat Jan 21 00:04:30 2017) on "linux_x64" updated the plugin...

I get dozens of errors related to templates (not just like this one). Do you think you'll be able to tackle them soon? Otherwise you could perhaps prevent the false...

There is also always the possibility to use custom tag names that are not Angular components intentionally. For example when Polymer components are used with Angular. Angular (TS) introduced `CUSTOM_ELEMENTS_SCHEMA`...