toolkit.image: JavaScript function

toolkit.imageR Documentation

JavaScript function

Description

An image element.

Arguments

updateSizeFunction

function Nullary function called when the object's size is changed.

Value

Image element. It has a getSize() method, returning an object with width and height members. This is the width and height set by reposition(), not the actual on-screen width and height, if that is different for some reason. In other words, it returns the width and height the image "should" have.


shinylight documentation built on May 29, 2024, 12:04 p.m.