Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Transition

Type parameters

  • Datum

Hierarchy

  • Transition

Index

Methods

attr

attrTween

  • attrTween(name: string, tween: function): Transition<Datum>
  • Parameters

    • name: string
    • tween: function
        • (datum: Datum, index: number, attr: string): function
        • Parameters

          • datum: Datum
          • index: number
          • attr: string

          Returns function

    Returns Transition<Datum>

call

  • call(func: function, ...args: any[]): Transition<Datum>

delay

duration

  • duration(): number
  • duration(duration: number): Transition<Datum>
  • duration(duration: function): Transition<Datum>

each

  • each(type: string, listener: function): Transition<Datum>
  • each(listener: function): Transition<Datum>
  • Parameters

    • type: string
    • listener: function
        • (d: Datum, i: number): any
        • Parameters

          • d: Datum
          • i: number

          Returns any

    Returns Transition<Datum>

  • Parameters

    • listener: function
        • (d: Datum, i: number): any
        • Parameters

          • d: Datum
          • i: number

          Returns any

    Returns Transition<Datum>

ease

  • ease(): function
  • ease(value: string, ...args: any[]): Transition<Datum>
  • ease(value: function): Transition<Datum>

empty

  • empty(): boolean

filter

node

  • node(): EventTarget

remove

select

selectAll

size

  • size(): number

style

  • style(name: string, value: Primitive, priority?: string): Transition<Datum>
  • style(name: string, value: function, priority?: string): Transition<Datum>
  • style(obj: object, priority?: string): Transition<Datum>

styleTween

  • styleTween(name: string, tween: function, priority?: string): Transition<Datum>
  • Parameters

    • name: string
    • tween: function
        • (datum: Datum, index: number, attr: string): Primitive
        • Parameters

          • datum: Datum
          • index: number
          • attr: string

          Returns Primitive

    • Optional priority: string

    Returns Transition<Datum>

text

transition

tween

  • tween(name: string, factory: function): Transition<Datum>
  • Parameters

    • name: string
    • factory: function
        • (): function
        • Returns function

            • (t: number): any
            • Parameters

              • t: number

              Returns any

    Returns Transition<Datum>

Generated using TypeDoc