Skip to content

EventControlElement.js

deployment script via Travis CI edited this page Mar 3, 2020 · 2 revisions

Members

rect

clientBoundingRect of the domElement, cached after it has been the same for 5 calls. Cache can be flushed using {flushRectCache}

Functions

flushRectCache()void

flushes the rect cache from {get rect}

modify(modArgs)void

sets multiple CSS properties according to the passed object

update()void

is called when there are changes. Does nothing by default, children might override this

rect

clientBoundingRect of the domElement, cached after it has been the same for 5 calls. Cache can be flushed using {flushRectCache}

Kind: global variable

flushRectCache() ⇒ void

flushes the rect cache from {get rect}

Kind: global function

modify(modArgs) ⇒ void

sets multiple CSS properties according to the passed object

Kind: global function

Param Type Description
modArgs object object containing CSS properties and values

update() ⇒ void

is called when there are changes. Does nothing by default, children might override this

Kind: global function