Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Store

Hierarchy

  • Store

Index

Properties

listeners

listeners: {}

Type declaration

  • [eventName: string]: Array<() => void>

state

state: {}

Type declaration

  • [propsName: string]: any

Methods

getState

  • getState(propsName?: string, callBack?: () => void): any

setState

  • setState(nextState: any): void

subscribe

  • subscribe(eventName: string, listener: () => void): (Anonymous function)

trigger

  • trigger(eventName: string): void

Generated using TypeDoc