Issue I am sure his must be a newbie question. In simple terms I wanted to define my first Polymer-dart component. Only I keep kicking my toe on the same speed-hump. To keep things very simple, I’ve stripped it back
Continue readingTag: polymer
No custom elements in polymer app
Issue I have a polymer app that runs fine i Dartium, but when I export to javascript it will not run. There are no error messages, but I get this warning: Target of URI does not exist: ‘maindocument.html.0.dart’ It refers
Continue readingPointer events target is always the outer-most Polymer element
Issue I am porting polymer-ui-card from JS to Dart. A difference is that in our project (by convention) we have an additional polymer element (app-element) that contains the entire application. In JavaScript it looks like <body unresolved> <div id=”cards”> <polymer-ui-card
Continue readingProgrammatic custom element broken in dart polymer 0.9.5?
Issue The earlier solution for programmatic custom element creation in polymer 0.8.5 seems to be broken in polymer 0.9.5. If we modify the standard click-counter example to use programmatic element creation, like so: main() { Logger.root.level = Level.ALL; Logger.root.onRecord.listen((LogRecord rec)
Continue readingIs it possible to create a Polymer element without Html?
Issue My final objective is don’t have to write HTML like this: <div id=’counter’> {{counter}} </div> <div> <button id=”startButton” on-click=”{{start}}”> Start </button> <button id=”stopButton” on-click=”{{stop}}”> Stop </button> <button id=”resetButton” on-click=”{{reset}}”> Reset </button> </div> I would like to know if it
Continue readingHow do I bind a CSS class to an observable object or property in Polymer?
Issue I want a CSS class to be applied to an element if a certain condition becomes true and that class to be removed when the condition becomes false. This is a pretty common pattern in web programming and I
Continue readingData access between parent and child custom-elements
Issue I have a question that I have been unable to find a clear and concise answer to without extra unnecessary calls through Dart and Polymer. I want to create a parent custom-element that is able to allow it’s child
Continue readingPass parameters to Dart Polymer element
Issue The only solid example I could find for Dart Polymer doesn’t use any parameters. How can I pass parameters to the template. Is it done through the constructor? My specific example is that I have a card element with
Continue readingBest practices to speed up Polymer Dart?
Issue I am currently writing a web app using Dart-Polymer, PHP, and MySQL. My biggest concern is speed. Some of this will be server side that can’t be helped. The part I wonder though is, can polymer dart elements be
Continue readingpolymer dart input binding int properties
Issue What is the proper way of binding an input field to an int property on an object (e.g. input box changes and updates int property of an object causing another element who is binding to the same property to
Continue reading