Issue I have a single page app using Dart and Polymer. I’m trying to add a route to another page with route_hierarchical What I’ve tried so far was configuring the router like this: router = new Router() router.root ..addRoute(name: ‘games’,
Continue readingTag: polymer
Polymer Iron Flex Mixin's Don't Work, But Classes Do
Issue I got Polymer iron-flex-layout to work in my AngularDart component using classes. Since it generates a deprecation warning, I thought would try the recomended alternative: mixin’s. They don’t work. Currently, I have this import in my artist_component.dart: import ‘package:polymer_elements/iron_flex_layout.dart’;
Continue readingCan Paper-Dialog be Used with AngularDart
Issue Can Polymer’s paper-dialog be used with Angular2 Dart? The only discussion I could find was a question here. I tried incorporating the code into my angular component. It didn’t like $[‘dialogArtist’] on the dialog open. I then create a
Continue readingPaper-textarea Is Readonly in AngularDart Component
Issue I got a paper-dialog to work fine with paper-input in an AngualrDart component. When I tried a paper-textarea, it is read only. Here is a working paper-input and the read-only paper-textarea: <paper-input #artistInputDeath type=”text” ngDefaultControl [(ngModel)]=”death_year” ngControl=”artistInputDeath” label=”Death Year”
Continue readingAssigning a variable value to a paper-item
Issue I’m trying to assign a object id to a list item so that I can look it up when it’s selected. There is an example here that uses a literal. It also works for me. This code doesn’t set
Continue readingPub warnings while trying to run bwu_datagrid 0.0.18 and polymer+angular
Issue I’m trying to create a simple project with the latest versions of polymer, angular, and bwu_datagrid 0.0.18. I can’t get pass the pub get, I get a warning and pub never downloads bwu_datagrid. I need help getting these 3
Continue readingCORS related errors when getting Channel API client script
Issue I’m currently experimenting with a Google App Engine/Go + Polymer.dart website at http://xclamm.appspot.com/. The problem is that I get the following error when I access http://xclamm.appspot.com/ with Dartium (31.0.1612.0 Developer Build 219647). XMLHttpRequest cannot load https://talkgadget.google.com/talkgadget/channel.js. No ‘Access-Control-Allow-Origin’ header
Continue readingHow do you dispatch and listen for custom events in Polymer?
Issue I want a child element to dispatch a custom event and the parent element to listen for it, and take some action. How do I do this when working with Polymer? Solution You can dispatch a custom event from
Continue readingIs there an event that fires after the DOM is updated as the result of an observed property?
Issue Is there an event that gets fired after the DOM is updated as the result of an observed property being changed? Specifically, I need to alter the scrollTop property of a container to show new content as it’s added.
Continue readingdart-polymer: cannot set an attribute from an event handler
Issue The following code doesn’t work. Maybe I do something wrong.. Please correct my code: index.html: <html> <head> <title>Page</title> <link rel=”import” href=”msg_box.html”> </head> <body> <msg-box id=”msg” caption=”Caption 1″></msg-box> <button id=”btn”>click me</button> <script type=”application/dart” src=”index.dart”></script> <script src=”packages/browser/dart.js”></script> </body> </html> import ‘dart:html’;
Continue reading