ImgLoadImgObj
(
)
(
)
- String
background-image
" in the element's style.
- String
- String
enabled
property to be set for the image.
Only set if isPng
value for this image is set to true
.
Defaults to true
.
- Int
height
attribute on the DOM element after the image is fetched.
Defaults to the natural height of the image (no height
attribute will be set).
Usually only used with src images.
- Boolean
- Boolean
style.visibility
should be set to visible
after the image is fetched.
Used when setting images as visibility:hidden
prior to image fetching.
- String
sizingMethod
property to be set for the image.
Only set if isPng
value for this image is set to true
.
Defaults to scale
.
- String
src
" attribute in the DOM element.
- Int
width
attribute on the DOM element after the image is fetched.
Defaults to the natural width of the image (no width
attribute will be set).
Usually only used with src images.
Boolean
fetch
(
withinY
)
withinY
<Int>
The pixel distance from the top of the page, for which if the image lies within, it will be fetched. Undefined indicates that no check should be made, and the image should always be fetched
Boolean
bgUrlChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
domIdChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
enabledChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
heightChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
isPngChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
setVisibleChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
sizingMethodChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
srcUrlChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added:
widthChange
(
event
)
event<Event.Facade>
An Event Facade object with the following attribute specific properties added: