concent

concent

  • Docs
  • API
  • ChangeLog
  • GitHub

›通用类型解释

顶层api

  • run
  • configure
  • cloneModule
  • register
  • connect
  • connectDumb
  • emit
  • emitWith
  • dispatch
  • getState
  • getGlobalState
  • getComputed
  • setState
  • setGlobalState
  • call
  • execute
  • executeAll

通用类型解释

  • HandlerCtx
  • CcFragmentCtx
  • WatchFn

实例上下文api

  • ctx.dispatch
  • ctx.invoke
  • ctx.setState
  • ctx.setModuleState
  • ctx.setGlobalState
  • ctx.computed
  • ctx.watch
  • ctx.syncBool
  • ctx.set
  • ctx.emit
  • ctx.on
  • ctx.off

CcFragment api

  • Fifth Document

通用api

  • dispatch

WatchFn


类型参数定义

type WatchFn = (
  newVal: any, 
  oldVal: any,
  keyDesc: {
    key:string,
    module:string,
    moduleState:object,
  },
  ctx: CcFragmentCtx,
)=>bool | undefined
← CcFragmentCtxctx.dispatch →
  • 类型参数定义
Copyright © 2019 concentjs.org