| Index: third_party/polymer/v1_0/components/iron-image/iron-image.html
|
| diff --git a/third_party/polymer/v1_0/components/iron-image/iron-image.html b/third_party/polymer/v1_0/components/iron-image/iron-image.html
|
| index 07eb4585161c032e82204878c3725cf6e6f59bca..7eba73f9750bc0657b9a5487af12dc4ecca5aaeb 100644
|
| --- a/third_party/polymer/v1_0/components/iron-image/iron-image.html
|
| +++ b/third_party/polymer/v1_0/components/iron-image/iron-image.html
|
| @@ -109,10 +109,6 @@ Examples:
|
| properties: {
|
| /**
|
| * The URL of an image.
|
| - *
|
| - * @attribute src
|
| - * @type string
|
| - * @default ''
|
| */
|
| src: {
|
| observer: '_srcChanged',
|
| @@ -124,10 +120,6 @@ Examples:
|
| * When true, the image is prevented from loading and any placeholder is
|
| * shown. This may be useful when a binding to the src property is known to
|
| * be invalid, to prevent 404 requests.
|
| - *
|
| - * @attribute preventLoad
|
| - * @type boolean
|
| - * @default false
|
| */
|
| preventLoad: {
|
| type: Boolean,
|
| @@ -139,10 +131,6 @@ Examples:
|
| * aspect ratio of the image is contained within the element and
|
| * letterboxed) or `cover` (image is cropped in order to fully cover the
|
| * bounds of the element), or `null` (default: image takes natural size).
|
| - *
|
| - * @attribute sizing
|
| - * @type string
|
| - * @default null
|
| */
|
| sizing: {
|
| type: String,
|
| @@ -152,10 +140,6 @@ Examples:
|
| /**
|
| * When a sizing option is uzed (`cover` or `contain`), this determines
|
| * how the image is aligned within the element bounds.
|
| - *
|
| - * @attribute position
|
| - * @type string
|
| - * @default 'center'
|
| */
|
| position: {
|
| type: String,
|
| @@ -165,10 +149,6 @@ Examples:
|
| /**
|
| * When `true`, any change to the `src` property will cause the `placeholder`
|
| * image to be shown until the
|
| - *
|
| - * @attribute preload
|
| - * @type boolean
|
| - * @default false
|
| */
|
| preload: {
|
| type: Boolean,
|
| @@ -178,10 +158,6 @@ Examples:
|
| /**
|
| * This image will be used as a background/placeholder until the src image has
|
| * loaded. Use of a data-URI for placeholder is encouraged for instant rendering.
|
| - *
|
| - * @attribute placeholder
|
| - * @type string
|
| - * @default null
|
| */
|
| placeholder: {
|
| type: String,
|
| @@ -191,10 +167,6 @@ Examples:
|
| /**
|
| * When `preload` is true, setting `fade` to true will cause the image to
|
| * fade into place.
|
| - *
|
| - * @attribute fade
|
| - * @type boolean
|
| - * @default false
|
| */
|
| fade: {
|
| type: Boolean,
|
| @@ -203,10 +175,6 @@ Examples:
|
|
|
| /**
|
| * Read-only value that is true when the image is loaded.
|
| - *
|
| - * @attribute preloaded
|
| - * @type boolean
|
| - * @default false
|
| */
|
| loaded: {
|
| notify: true,
|
| @@ -217,10 +185,6 @@ Examples:
|
| /**
|
| * Read-only value that tracks the loading state of the image when the `preload`
|
| * option is used.
|
| - *
|
| - * @attribute loading
|
| - * @type boolean
|
| - * @default false
|
| */
|
| loading: {
|
| notify: true,
|
| @@ -231,10 +195,6 @@ Examples:
|
| /**
|
| * Can be used to set the width of image (e.g. via binding); size may also be
|
| * set via CSS.
|
| - *
|
| - * @attribute width
|
| - * @type number
|
| - * @default null
|
| */
|
| width: {
|
| observer: '_widthChanged',
|
| @@ -349,11 +309,11 @@ Examples:
|
|
|
| this.style.backgroundPosition =
|
| placeholderStyle.backgroundPosition =
|
| - this.sizing ? this.position : null;
|
| + this.sizing ? this.position : '';
|
|
|
| this.style.backgroundRepeat =
|
| placeholderStyle.backgroundRepeat =
|
| - this.sizing ? 'no-repeat' : null;
|
| + this.sizing ? 'no-repeat' : '';
|
| },
|
|
|
| _loadBehaviorChanged: function() {
|
|
|