References
summary | ||
public |
F getChildrenProperty(options: Object): Object[] | String returns a valid rjx.children property |
|
public |
F getChildrenProps(options: Object): Object | String Used to pass properties down to child components if passprops is set to true |
|
public |
F getRJXChildren(options: *) returns React Child Elements via RJX |
|
public |
F getBoundedComponents(options: Object, boundedComponents: string[]): Object getBoundedComponents returns reactComponents with certain elements that have this bounded to select components in the boundedComponents list |
|
public |
F getComponentFromLibrary(options: Object): function | undefined returns a react component from a component library |
|
public |
F getComponentFromMap(options: Object): string | function | class returns a react element from rjx.component |
|
public |
F getFunctionFromEval(options: Object): Function Returns a new function from an options object |
|
public |
F getReactClassComponent(reactComponent: Object): Function Returns a new React Component |
|
public |
F getReactContext() if (recharts[rjx.component.replace('recharts.', '')]) { return recharts[rjx.component.replace('recharts.', '')]; } |
|
public |
F getReactFunctionComponent(reactComponent: *, functionBody: String): Function Returns new React Function Component |
|
private |
Use RJX for express view rendering |
|
private |
F __getReact() |
|
private |
F __getReactDOM() |
|
private |
|
|
public |
F getRenderedJSON(rjx: object, resources: object): function Use React.createElement and RJX JSON to create React elements |
|
public |
F rjxHTMLString(config: object): string Use ReactDOMServer.renderToString to render html from RJX |
|
public |
Use RJX without any configuration to render RJX JSON to HTML and insert RJX into querySelector using ReactDOM.render |
|
public |
F getChildrenComponents(options: *) returns children rjx components defined on spreadComponent spread over an array on props.spread |
|
public |
F getComponentProps(options: Object): Object Resolves rjx.__dangerouslyInsertComponents into an object that turns each value into a React components. |
|
public |
F getComputedProps(options: Object) Returns computed properties for React Components and any property that's prefixed with __ is a computedProperty |
|
public |
F getEvalProps(options: Object): Object Used to evalute javascript and set those variables as props. |
|
public |
F getFunctionFromProps(options: Object): Function Takes a function string and returns a function on either this.props or window. |
|
public |
F getFunctionProps(options: Object): Object Returns a resolved object from function strings that has functions pulled from rjx.__functionProps |
|
public |
F getParamNames(func: Function) returns the names of parameters from a function declaration |
|
public |
F getRJXProps(traverseObject: Object, options: Object): Object It uses traverse on a traverseObject to returns a resolved object on propName. |
|
public |
F getReactComponentProps(options: Object): Object Resolves rjx.__dangerouslyInsertReactComponents into an object that turns each value into a React components. |
|
public |
F getWindowComponents(options: Object): Object Returns a resolved object that has React Components pulled from window.__rjx_custom_elements |
|
public |
F displayComponent(options: Object): Boolean Used to evaluate whether or not to render a component |
|
public |
Use to test if can bind components this context for react-redux-router |
|
public |
F getSimplifiedRJX(rjx: Object): Object Transforms Valid RJX JSON to SimpleRJX {component,props,children} => {[component]:{props,children}} |
|
public |
F simpleRJXSyntax(simpleRJX: Object): Object Transforms SimpleRJX to Valid RJX JSON {[component]:{props,children}} => {component,props,children} |
|
public |
take an object of array paths to traverse and resolve |
|
public |
F validSimpleRJXSyntax(simpleRJX: Object): Boolean validates simple RJX Syntax {[component]:{props,children}} |
|
public |
F validateRJX(rjx: Object, returnAllErrors: Boolean): Boolean | Error[] Validates RJX JSON Syntax |
|
public |
|
|
public |
object of all react components available for RJX |
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
public |
|
|
public |
|
|
public |
|