Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Web Component support: binding to properties #1277

Closed
wants to merge 2 commits into from

Conversation

jbdeboer
Copy link
Contributor

No description provided.

@jbdeboer jbdeboer added cla: yes and removed cla: no labels Jul 29, 2014
transformers:
- angular
- $dart2js:
minify: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for minify: false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, removed.

@chirayuk
Copy link
Contributor

Would you like to add an E2E test?  😄

{
"name": "paper-example",
"version": "0.0.1",
"homepage": "https://github.com/jbdeboer/angular.dart",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mhevery mhevery removed the cla: yes label Jul 29, 2014
@jbdeboer jbdeboer removed the cla: no label Jul 29, 2014
@@ -87,7 +87,7 @@ class DirectiveSelector {
if (attrName.startsWith("on-")) {
builder.onEvents[attrName] = value;
} else if (attrName.startsWith("bind-")) {
builder.bindAttrs[attrName] = _astParser(value, formatters: _formatters);
builder.bindAttrs[attrName.substring(5)] = _astParser(value, formatters: _formatters);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const _BIND_PREFIX_LENGTH = 5; // "bind-" ?

@vicb
Copy link
Contributor

vicb commented Jul 29, 2014

LGTM, with a few questions and comments


<p>
Change the value through an ng-model bound input box:
<input type="text" ng-model="curValue">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<label>Change the value through an ng-model bound input box: <input type="text" ng-model="curValue"></label>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@jbdeboer jbdeboer closed this in c53dc77 Jul 30, 2014
jbdeboer added a commit that referenced this pull request Aug 5, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this pull request Aug 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

4 participants