Adds the class "toolkit-warn" to the given element and sets a timeout after which the class is removed again. If there already is a timeout waiting it gets updated.
||HTMLElement | SVGElement||
The DOM node the class should be added to
The timeout in ms until the class should be removed again.
Gets fired when TK.Warning#warning was called.