---
title: Behavior
framework: applenewsformat
role: symbol
role_heading: Object
path: applenewsformat/behavior
---

# Behavior

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

## Declaration

```data
object Behavior
```

## Properties

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

## Discussion

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. note: You don’t use the Behavior object directly; instead, use the specific objects that extend it. You can use this object in Component.

## Relationships

### Inherited By

- [BackgroundMotion](applenewsformat/backgroundmotion.md)
- [BackgroundParallax](applenewsformat/backgroundparallax.md)
- [Motion](applenewsformat/motion.md)
- [Parallax](applenewsformat/parallax.md)
- [Springy](applenewsformat/springy.md)

## See Also

### Related Documentation

- [Adding Parallax Behavior](applenews/adding-parallax-behavior.md)

### Behaviors

- [About Component Behaviors](applenews/about-component-behaviors.md)
- [BackgroundMotion](applenewsformat/backgroundmotion.md)
- [BackgroundParallax](applenewsformat/backgroundparallax.md)
- [Motion](applenewsformat/motion.md)
- [Parallax](applenewsformat/parallax.md)
- [Springy](applenewsformat/springy.md)
