Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "core/CvScope"

Index

Interfaces

Variables

Variables

CvScope

CvScope: ClassicComponentClass<CvScopeProps> = React.createClass<CvScopeProps, CvScopeState>({mixins: [CvBaseMixin],getDefaultProps: function () {return { handler: null, get: null }},render: function () {if(this.scopeCtx().scopeObj) {const scopeObj = this.scopeCtx().scopeObj;if(this.props.get) {const value = scopeObj[this.props.get];return value ? <span>{value}</span> : null;}else if(this.props.handler) {return this.props.handler(scopeObj)}}return null;},})

Generated using TypeDoc