Skip to content
MANAWAVE DOCS
GitHub

Attributes

MANAWAVE attributes are similar to HTML attributes. They are descriptions to give you control over behaviors in the MANAWAVE marquee.

There are three and they look like this:

<manawave-marquee direction="122.5" speed="2" autoplay>content</manawave-marquee>
<manawave-marquee direction="up" speed="0.5">content</manawave-marquee>

Attribute Behavior

direction

Controls the direction in angles.

speed

Multiplier that controls how fast items move.

autoplay

Controls if the marquee should start animating when initialized.

Values

Possible values for each attribute.

AttributeTypeExample
direction,data-directionnumber or a Direction10, 123.5, 534, -10.382
speed, data-speednumber10, 12.127
autoplay, data-autoplaybooleantrue, false

Types

For any named value that should map to a more literal value.

Direction

Used in directional attributes

DirectionValue
up90
right0
down270
left180