Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NodeMarqueeProp

Hierarchy

  • NodeMarqueeProp

Index

Properties

Optional autoplay

autoplay?: boolean

If you want the marquee element to start moving after its initializing.

default

true

Optional minQuantity

minQuantity?: number

Minimal amount of inner elements

default

1

Optional parent

parent?: string | HTMLElement

The selector of the element or the elements itself.

default

'#node-marquee'

Optional pauseOnHover

pauseOnHover?: boolean

Stop the marquee on hover

default

false

Optional prependWhitespace

prependWhitespace?: boolean

If need to append a whitespace before each element

Optional resize

resize?: boolean | "w" | "h"

When the window is resized, the marquee element is recreated for its sizes correspond to the current size of the window. This property allow you to decide what viewport changes to react.
true - update on each resize
'w' - update on width resize only
'h' - update on height resize only
false - to not update on resize

Optional speed

speed?: number

The amount of pixels to move with each frame.

default

1

Optional useParentStyles

useParentStyles?: boolean

If you need to apply default style to the parent element

default

true