Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access $['someid'] in moustage binding #20448

Closed
DartBot opened this issue Aug 10, 2014 · 3 comments
Closed

access $['someid'] in moustage binding #20448

DartBot opened this issue Aug 10, 2014 · 3 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@DartBot
Copy link

DartBot commented Aug 10, 2014

This issue was originally filed by @zoechi


I tried to reference a method of a sibling as event handler inside a moustache expression.

<a href="#" on-click="{{ $['routelink'].parentRoute }}">articles</a>

Should this work? how?

I get
Transform ScriptCompactor on bwu_polymer_routing|example/example_01.html threw error: Bad state: invalid symbol name: "$['routelink'].parentRoute"

Polymer 0.12.1

Dart VM version: 1.6.0-edge.39058 (Fri Aug 8 15:50:20 2014) on "linux_x64"

@DartBot
Copy link
Author

DartBot commented Aug 12, 2014

This comment was originally written by @zoechi


Polymer/polymer#446 (comment)
seems to be the answer (not supported)

@DartBot
Copy link
Author

DartBot commented Aug 12, 2014

This comment was originally written by @zoechi


Seems to be a PR that adds support for exactly my use case.
https://github.com/Polymer/polymer-dev/pull/30/files

@DartBot DartBot added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. labels Aug 12, 2014
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#266.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

2 participants