Contents

Springy

The behavior whereby a component acts as if it’s on a short spring.

Declaration

object Springy

Properties

NameTypeDescription
type Requiredstring

This behavior always has the type springy.

Mentioned in

Discussion

When you apply the Springy behavior to a component, the component behaves as if it’s held in place with a short spring, as shown in this video.

Example

{
  "components": [
    {
      "role": "figure",
      "behavior": {
        "type": "springy"
      },
      "URL": "bundle://figure.jpg"
    }
  ]
}

See Also

Behaviors