Learn R Programming

shinylight (version 1.1.2)

toolkit.image: JavaScript function

Description

An image element.

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.

Arguments

updateSizeFunction

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