Issue I’ve installed polymer based on the Dart, Angular 2, and Polymer Together demo. I’ve got a couple of elements to work so far. I now want to use iron-scroll-target-behavior. I wasn’t able to import it into my dart program
Continue readingTag: polymer-1.0
Computed property in dom-repeat doesn't work
Issue I try to use computed property in dom-repeat helper but it throws exception immediately after I click button (see code below, packages versions: sdk: 0.12.2, polymer: 1.0.0-rc.5, polymer_interop: 1.0.0-rc.4+1). What might be wrong? When I replace {{computedItems}} with {{items}}
Continue readingPolymer linkPaths does not fire on-change et all
Issue EDITED: NOW WITH COMPLETE CODE Previous Post related LinkPaths works, but does not fire all on-change event of the elements where the data changed. See the image: For example, when data is changed on <paper-input label=”Produto” value=”{{item.descricao}}”></paper-input> (outer dom-repeat)
Continue readingWhat is the better solution to format/restrict *-input entry in Polymer 1.0
Issue I would like to know if exists best practices to format and restrict on *-input elements entry in Polymer 1.0. For example: Number/Currency = ‘999.999.999,99’ Date = ‘dd/mm/yyyy’ Is there a pattern default to guarantee that entry just number,
Continue readingBest way to notify polymer of updates to list items
Issue I have a Dart web app using Polymer 1.0. The main-app is displaying a list of items. The main-app can add items to that list and then some time later an AJAX call will return and update the state
Continue readingPolymer + dart2js: too large output
Issue I am using dart2js (via pubspec) and a simple example has too large output in build (folder) generated, 11.4MB. For example, I’m using a code only the paper-input element, but the content in build folder has various polymer elements.
Continue readingHow to get model for element in iron-list (polymer dart)?
Issue How can I get the model for some element in iron-list? The documentation suggests: ($[‘list’] as IronList).modelForElement(target).index but modelForElement() returns TemplateInstance which doesn’t contain index field. Solution You should be able to use the get method on the TemplateInstance
Continue readingHow to listen for event passed from parent to child in polymer.dart
Issue I am trying to pass an event from a parent to child in Polymer 1.0.0-rc2 in Dart. The problem is that I do not know how to go about listening for the event in the child. I’ve tried to
Continue readingHow to set the restamp property on a dom-if
Issue I wish to remove and create a dom depending on a polymer dom-if. To do this I will have to use the restamp property. Given the code below, is this the proper way of using the restamp property user_page.html:
Continue readingTrying to get a dom-if to work
Issue I am trying to remove and add a template content using the a paper-toggle-button. However, I am not able to see the contents of the template even though the toggle is occurring. The code used is shown below: .dart
Continue reading