PolymerElements / iron-icons

A set of icons for use with iron-icon

Home Page:https://www.webcomponents.org/element/PolymerElements/iron-icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo do not show anything

h-nasu opened this issue · comments

Description

Demo page do not show anything.

Expected outcome

Should see all the icons.

Actual outcome

Nothing shown.

Live Demo

https://www.webcomponents.org/element/PolymerElements/iron-icons/demo/demo/index.html

Steps to reproduce

Visit the demo page.

Browsers Affected

  • [x ] Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

Fix

Delete or comment the dom-repeat tag.

<dom-bind>
    <template is="dom-bind" id="scope">
      <!--<dom-repeat>-->

        <template is="dom-repeat" id="iconsetRepeat">
          <h2>{{item.name}}</h2>
          <!--<dom-repeat class="set">-->
            <template is="dom-repeat" items="{{getIconNames(item)}}">
              <span class="container">
                <iron-icon icon="{{item}}"></iron-icon>
                <div>{{item}}</div>
              </span>
            </template>
          <!--</dom-repeat>-->
        </template>

      <!--</dom-repeat>-->
    </template>
  </dom-bind>