Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i use <symbol> instead of <g>? #18

Closed
cbfranca opened this issue Jul 28, 2015 · 1 comment
Closed

How can i use <symbol> instead of <g>? #18

cbfranca opened this issue Jul 28, 2015 · 1 comment

Comments

@cbfranca
Copy link

I'm trying to define my iconset-svg using symbol instead of g but isn't working. The icon isn't rendered. If i define some icon using it works.

The code:

<iron-iconset-svg name="br-icons">
  <svg style="display: none">
    <defs>    
        <symbol id="icon-menu" viewBox="0 0 1024 1024">
        <title>menu</title>
        <path class="path1" d="M64 192h896v192h-896zM64 448h896v192h-896zM64 704h896v192h-896z"></path>
      </symbol>
 </defs>
</svg>
</iron-iconset-svg>

 <iron-icon icon="br-icons:icon-menu"></iron-icon>

Some idea?

Tks

@cbfranca cbfranca closed this as completed Aug 2, 2015
@cbfranca
Copy link
Author

cbfranca commented Aug 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant