External module "core/CvAction"
Variables
CvAction
Cv
Action: ClassicComponentClass<CvActionProps> = React.createClass<CvActionProps, CvActionState>({mixins: [CvBaseMixin, CvActionBase],componentDidMount: function() {this._componentDidMount();},componentWillReceiveProps(nextProps) {this._componentWillReceiveProps(nextProps);},getChildContext: function () {const ctx = this.getDefaultChildContext();ctx.cvContext.scopeCtx.scopeObj = this.menuDef();return ctx;},getDefaultProps: function () {return {actionId: null,fireOnLoad:null,paneContext: null,navTarget: null,menuDef: null,actionListeners: [],navigationListeners: [],stateChangeListeners: [],selectionProvider: null,renderer: null,wrapperElemName: 'span',wrapperElemProps: {},wrapperEventHandlerName: 'onClick',actionHandlerProvider: null}},getInitialState: function() {return this._getInitialState();},render: function () {if (this.props.renderer) {return this.props.renderer(this.getChildContext().cvContext, this._getCallbackObj())} else if (this.props.children){const props = ObjUtil.addAllProps(this.props.wrapperElemProps, {});props[this.props.wrapperEventHandlerName] = this.performAction;return React.createElement(this.props.wrapperElemName, props, this.props.children);} else {return null;}}})
Object literals
CvActionBase
CvActionBase: object
_checkDestroyed
- _checkDestroyed(paneContext: PaneContext): void
-
Parameters
Returns void
_componentDidMount
- _componentDidMount(): void
-
Returns void
_componentWillReceiveProps
- _componentWillReceiveProps(nextProps: any): void
-
Parameters
Returns void
_getActionMeta
- _getActionMeta(actionId: string): object
-
Parameters
Returns object
-
isClientAction: any
-
noTransition: any
_getCallbackObj
-
_getInitialState
- _getInitialState(): object
-
Returns object
-
selectedTargets: undefined[]
_publishActionFinished
-
Parameters
-
actionId: string
-
source: PaneContext
-
actionListeners: Array<function>
-
_publishActionStarted
-
Parameters
-
actionId: string
-
source: PaneContext
-
clientAction: boolean
-
actionListeners: Array<function>
-
_setSelection
- _setSelection(selectedTargets: Array<string>): void
-
Parameters
-
selectedTargets: Array<string>
Returns void
_shouldComponentUpdate
- _shouldComponentUpdate(nextProps: any, nextState: any): boolean
-
Parameters
-
nextProps: any
-
nextState: any
Returns boolean
findPaneContextWithActionId
- findPaneContextWithActionId(actionId: string): PaneContext
-
Parameters
Returns PaneContext
getSelectedTargets
- getSelectedTargets(): any
-
Returns any
menuDef
-
Returns any
paneContext
-
Returns any
performAction
-
Parameters
Returns void
static methods