Behavior

QName: f:behavior

This feature indicates that a node provides the implementation of a behavior. This feature simply tags the node as a behavior implementation.

The node must be a script or a rule.

To bind a behavior to a policy on a content node or type, create an association that has the f:behavior-binding feature and points to the behavior node. For more information, see Rules and Node Policies.

Configuration

This feature does not require configuration.

Behavior Example

{
    "title": "My JavaScript file",
    "_features": {
        "f:behavior": {
        }
    }
}