Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ext/CvNavigator"

Index

Variables

CvNavigator

CvNavigator: ClassicComponentClass<CvNavigatorProps> = React.createClass<CvNavigatorProps, CvNavigatorState>({propTypes: {/*** navigationResult?:CvNavigationResult;*/navigationResult: React.PropTypes.object,/*** alternative to navigationResult - the id will be used to find the navigationResult in the cache*/navigationId: React.PropTypes.string,/*** navigationListeners?:Array<(event:CvEvent<CvNavigationResult>)=>void>;*/navigationListeners: React.PropTypes.arrayOf(React.PropTypes.func),/*** actionListeners?:Array<(event:CvEvent<CvActionFiredResult>)=>void>;*/actionListeners: React.PropTypes.arrayOf(React.PropTypes.func),/*** stateChangeListeners?:Array<(event:CvEvent<CvStateChangeResult>)=>void>;*/stateChangeListeners: React.PropTypes.arrayOf(React.PropTypes.func),layoutOverrideElement: React.PropTypes.element,/*** formComponentProvider?:CvFormComponentProvider;*/formComponentProvider: React.PropTypes.object,targetId: React.PropTypes.string,catavolt: React.PropTypes.instanceOf(AppContext),eventRegistry: React.PropTypes.instanceOf(CvEventRegistry),/*** renderer signature: (cvContext:CvContext, callbackObj?:any)=>{}* ctx.cvContext.scopeCtx.scopeObj will be of type NavRequest*/renderer:React.PropTypes.func,displayProperties: React.PropTypes.any,displayPropChangeListeners: React.PropTypes.arrayOf(React.PropTypes.func)},mixins: [CvBaseMixin],shouldComponentUpdate: function(nextProps, nextState) {return ((nextProps.navigationId && nextProps.navigationId !== this.props.navigationId) ||(nextProps.navigationResult && nextProps.navigationResult !== this.props.navigationResult) ||(nextProps.displayProperties && nextProps.displayProperties !== this.props.displayProperties));},getDefaultProps: function () {return {navigationResult: null,navigationId: null,navigationListeners: [],actionListeners: [],stateChangeListeners: [],layoutOverrideElem: null,formComponentProvider: null,persistent: false,targetId: null,displayProperties:new CvDisplayProperties(),displayPropChangeListeners:[]};},navRequest: function () {if (this.props.navigationResult && this.props.navigationResult.navRequest) {return this.props.navigationResult.navRequest;} else if (this.props.navigationId) {return (this.eventRegistry().getEventByKey(this.props.navigationId).eventObj as CvNavigationResult).navRequest;} else {return null;}},render: function () {/* @TODOAdd web navigation renderer back by adding an optional webRenderer to CvFormPaneSee prior version of this file...*/return <CvNavigation navigationResult={this.props.navigationResult}navigationId={this.props.navigationId}persistent={this.props.persistent}targetId={this.props.targetId}renderer={(cvContext:CvContext)=>{return <CvFormPanel formContext={cvContext.scopeCtx.scopeObj} navigationListeners={this.props.navigationListeners}stateChangeListeners={this.props.stateChangeListeners}actionListeners={this.props.actionListeners}layoutOverrideElem={this.props.layoutOverrideElem}formComponentProvider={this.props.formComponentProvider}displayProperties={this.props.displayProperties}displayPropChangeListeners={this.props.displayPropChangeListeners}/>}}/>}})

Render a NavRequest

Generated using TypeDoc