Dart: Prevent polymer transformer from changing my hrefs -


i have polymer component html file contains anchor element <a href="foo">. component imported html import. polymer transformer (or maybe web_components transformer) inline import, , when doing rewrite anchor element <a href=/path/where/the/html/file/exists/foo">.

now want use anchor tag client-side routing. have route set "foo" when transformer has rewritten href route not work. want transformer leave href alone , keep original path. tried using _href gives error should used bindings. guess question if there way instruct transformer leave hrefs alone?

this might work:

<a _href="{{'foo'}}"> 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -