Link Search Menu Expand Document

controller.log

description

Logs the time when controller is envoked

syntax

getController(ELEMENT_NAME).log()

example(s)


@newController("DashedSentence", {s: "The mouse is happy"} )
@   .print()
$   .log()
=======
@newController("DashedSentence", {s: "The mouse that the cat that the dog is petting is hugging is happy"} )
@   .print()
@   .log()
@   .wait()
@   .remove()