Skip to content

Commit

Permalink
Merge pull request #4 from GdeZerno/master
Browse files Browse the repository at this point in the history
Add missing "src" property
  • Loading branch information
ronnyroeller authored Jul 19, 2019
2 parents 9d151a7 + 8e9b934 commit c236edd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions paper-drawer-icon-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<paper-icon-item class="item" role="menuitem">
<paper-ripple></paper-ripple>
<iron-icon class="icon" icon="[[icon]]" slot="item-icon"></iron-icon>
<iron-icon class="icon" icon="[[icon]]" src="[[src]]" slot="item-icon"></iron-icon>
<slot></slot>
</paper-icon-item>
</template>
Expand All @@ -49,7 +49,12 @@
/**
* Icon that is shown next to the content
*/
icon: String
icon: String,
/**
* URL of an individual icon image file.
* Note that it will take precedence over a given `icon` attribute.
*/
src: String
}
});

Expand Down

0 comments on commit c236edd

Please sign in to comment.