alijaya / iron-accordions Goto Github PK
View Code? Open in Web Editor NEWPolymer Elements of accordion layout.
Polymer Elements of accordion layout.
If you configure polymer with shadow DOM rather than shady DOM this control doesn't work. Thoughts?
sad
window.Polymer = {lazyRegister: true, dom: 'shadow'};
happy
window.Polymer = {lazyRegister: true, dom: 'shady'};
Hi,
When i do bower install of this component, it installed more than 1000 file.Inside the components/ folder I could see some repeated components like iron-ajax,iron-icon etc. Are they all mandatory ? or can add it in /.gitignore.
Thanks,
Hi there:
It would be great have the next feature, one header could be customizable like next:
Then if the user press in Normal Buttons, the expected actions are performed, and we could set programatically the action to collapse the view (as accordion) whe user click on CollapserButton
It would be implemented, or if it's already done, let me know hot to do it
I think the current behavior is OK, but in many cases the header would have button or any other interactive elements, then would be great has a mechanism to fire the collapse event from a specific element into the header
Hi,
I tried the example in my project, but is not visible at all.
<div>
<h1>A test</h1>
<iron-accordions>
<iron-accordion selected>
<h2>This is the Header</h2>
<p>This is a paragraph</p>
<p>And more paragraph here</p>
</iron-accordion>
<iron-accordion>
<div>
<h2>Compound Header</h2>
<p>Yeah</p>
</div>
<p>I don't like writing a documentation</p>
<p>YEAH!!!</p>
</iron-accordion>
</iron-accordions>
</div>
My current version of polymer is: 1.7.1
When I nest a custom tag (like paper-button) for example as an element (not the first), then the element gets rendered in the header. Apparently the *:first-child selector in the iron-accordion also sees this element as the first element of it's parent? Can this be fixed by using a more specific selector?
For example:
<iron-accordions>
<iron-accordion>
<h3>myheader</h3>
<paper-item>myItem</paper-item>
</iron-accordion>
<iron-accordion>
<h3>myheader</h3>
<paper-item>myItem</paper-item>
</iron-accordion>
</iron-accordions>
When using the opened attribute there are a couple of behavioral issues:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.