Git Product home page Git Product logo

iron-accordions's People

Contributors

alijaya avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

iron-accordions's Issues

Not working with shadow dom

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'};

More than 1000 files installed for this component

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,

Add collapsable and action buttons in header

Hi there:

It would be great have the next feature, one header could be customizable like next:


[Button1-Action1] [Button2-Action2] [CollapserButton-ActionCollapse]

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

Feature: Provide method or event to collapse accordion

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

Not visible

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

Nested custom tag appears in the header

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>

Opened attribute causes issues

When using the opened attribute there are a couple of behavioral issues:

  1. Clicking another collapsed item opens the new item but doesn't close the original item.
  2. Clicking the opened item doesn't close it the first time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.