WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

TransitionLike is a helper interface to represent a quasi-Transition, without specifying the full Transition interface in this file. For example, whereever d3-zoom allows a Transition to be passed in as an argument, it internally immediately invokes its selection() method to retrieve the underlying Selection object before proceeding. d3-brush uses a subset of Transition methods internally. The use of this interface instead of the full imported Transition interface is [referred] to achieve two things: (1) the d3-transition module may not be required by a projects use case, (2) it avoids possible complications from 'module augmentation' from d3-transition to Selection.

Type parameters

Hierarchy

  • TransitionLike

Index

Methods

Methods

on

  • Parameters

    • type: string
    • listener: null

    Returns TransitionLike<GElement, Datum>

  • Parameters

    Returns TransitionLike<GElement, Datum>

selection

  • selection(): Selection<GElement, Datum, any, any>
  • Returns Selection<GElement, Datum, any, any>

tween

  • Parameters

    • name: string
    • tweenFn: null

    Returns TransitionLike<GElement, Datum>

  • Parameters

    Returns TransitionLike<GElement, Datum>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc