Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • RefType

Hierarchy

  • RefMap

Index

Constructors

  • new RefMap<RefType>(masterCallback?: ((val: null | RefType, key: string) => void)): RefMap<RefType>
  • Type Parameters

    • RefType

    Parameters

    • Optional masterCallback: ((val: null | RefType, key: string) => void)
        • (val: null | RefType, key: string): void
        • Parameters

          • val: null | RefType
          • key: string

          Returns void

    Returns RefMap<RefType>

Properties

callbackMap: any
currentMap: {}

Type declaration

  • [key: string]: RefType
depths: any
handleValue: ((val: null | RefType, key: string) => void)

Type declaration

    • (val: null | RefType, key: string): void
    • Parameters

      • val: null | RefType
      • key: string

      Returns void

masterCallback?: ((val: null | RefType, key: string) => void)

Type declaration

    • (val: null | RefType, key: string): void
    • Parameters

      • val: null | RefType
      • key: string

      Returns void

Methods

  • collect(startIndex?: number, endIndex?: number, step?: number): RefType[]
  • Parameters

    • Optional startIndex: number
    • Optional endIndex: number
    • Optional step: number

    Returns RefType[]

  • createRef(key: string | number): ((val: RefType) => void)
  • Parameters

    • key: string | number

    Returns ((val: RefType) => void)

      • (val: RefType): void
      • Parameters

        • val: RefType

        Returns void

  • getAll(): RefType[]
  • Returns RefType[]

Generated using TypeDoc