Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface implemented by classes supporting behaviors

Type parameters

  • T

Hierarchy

  • IBehaviorAware

Implemented by

Index

Methods

  • Attach a behavior

    Parameters

    • behavior: Behavior<T>

      defines the behavior to attach

    Returns T

    the current host

  • Gets a behavior using its name to search

    Parameters

    • name: string

      defines the name to search

    Returns Nullable<Behavior<T>>

    the behavior or null if not found

  • removeBehavior(behavior: Behavior<T>): T
  • Remove a behavior from the current object

    Parameters

    • behavior: Behavior<T>

      defines the behavior to detach

    Returns T

    the current host

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme