class js.html.MarqueeElement extends Element

Available on js

Non-standard

Documentation for this class was provided by MDN.

Instance Fields

var behavior:String

Sets how the text is scrolled within the marquee. Possible values are scroll, slide and alternate. If no value is specified, the default value is scroll.

var direction:String

Sets the direction of the scrolling within the marquee. Possible values are left, right, up and down. If no value is specified, the default value is left.

var height:String

Sets the height in pixels or percentage value.

var hspace:Int

Sets the horizontal margin

var loop:Int

Sets the number of times the marquee will scroll. If no value is specified, the default value is −1, which means the marquee will scroll continuously. Setter throws DOMException.

var scrollAmount:Int

Setter throws DOMException.

var scrollDelay:Int

Setter throws DOMException.

var vspace:Int

Sets the vertical margin in pixels or percentage value.

var width:String

Sets the width in pixels or percentage value.

function start():Void

function stop():Void