Contents

Behavior

Properties shared by all the behaviors you can use to affect how components react to device motion and scrolling.

Declaration

object Behavior

Properties

NameTypeDescription
type Requiredstring

The type of behavior; for example, parallax for a Parallax behavior.

Discussion

A behavior defines the physics of a component and its context. The effect of a component behavior is persistent and occurs every time a person views the article. Compare that with an animation which happens just once each time a person views the component in your article.

You can use this object in Component.

See Also

Related Documentation

Behaviors