Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
Add @OverRide, remove @attribute/@group/@hero/@homepage (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Jun 19, 2019
1 parent b3c9b93 commit da39106
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions iron-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ Custom property | Description | Default
`--iron-image-width` | Sets the width of the wrapped image | `auto`
`--iron-image-height` | Sets the height of the wrapped image | `auto`
@group Iron Elements
@element iron-image
@demo demo/index.html
*/
Polymer({
/** @override */
_template: html`
<style>
:host {
Expand Down Expand Up @@ -216,8 +215,6 @@ Polymer({
/**
* Can be used to set the height of image (e.g. via binding); size may also
* be set via CSS.
*
* @attribute height
* @type number
* @default null
*/
Expand All @@ -229,6 +226,7 @@ Polymer({
'_loadStateObserver(src, preventLoad)'
],

/** @override */
created: function() {
this._resolvedSrc = '';
},
Expand Down

0 comments on commit da39106

Please sign in to comment.