iron-demo-helpers
iron-demo-helpers copied to clipboard
Utility classes to make building demo pages easier
Fixes #51 by implementing the drafted idea using global function. I also display the bound object in a highlighted element. If you run the demos you'll see this: 
Object literals in the code snippets look better if they don't contain " escaping. E.g. using ``` js // Attributes with embedded JSON look better with apostrophes. snippet = snippet.replace(/="[^"]*"[^"]*"/g,...
Using the Polymer v2.0.0-rc.2 with the iron-demo-helpers 2.0-preview, data binding within the template is not working. This following used to work in Polymer v1.x: ```html Pathname: [[location.pathname]] ``` To get...
### Description Using Polymer 2.0 with the following polymer.json ``` { "entrypoint": "demo/index.html", "builds": [{ "bundle": true, "js": { "compile": true, "minify": true }, "css": { "minify": true }, "html":...
### Description It is possible to use data binding in the `demo-snippet` template but there is no simple way for setting initially bound values. ### Expected outcome Setting up data...
Here's a demo-snippet on Chrome:  Here's the same demo-snippet on Firefox:  Notice the `template` content doesn't show up in the snippet on Firefox.
### Description I enabled `useNativeCSSProperties` and `lazyRegister` and added a `demo-snippet` to my file. The `` is rendered `inline` instead of `block`. As a result, `my-element` doesn't render correctly inside...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.0.0 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...