MCPcopy Index your code
hub / github.com/microsoft/SandDance / render

Method render

docs/app/js/sanddance-app.js:10685–10701  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10683 p.then(()=>this.render());
10684 }
10685 render() {
10686 const hasRefinedData = this.dataScope.hasFilteredData();
10687 const renderProps = {
10688 language: this.language,
10689 actionHandler: (action)=>this.handleAction(action),
10690 selectionHandler: (columnName, value)=>this.selectByNameValue(columnName, value),
10691 count: this.state.userSelection && this.state.userSelection.included.length,
10692 hasRefinedData,
10693 item: this.state.userSelection && this.state.userSelection.included[this.state.index],
10694 remapColorHandler: (remap)=>this.remapChanged(remap),
10695 hasColorMaps: this.hasColorMaps() && hasRefinedData,
10696 remapColor: this.state.remapColor
10697 };
10698 const a = _vegaDeckGl.util.getActiveElementInfo();
10699 _vegaDeckGl.util.mount(renderDetails(renderProps), this.element);
10700 _vegaDeckGl.util.setActiveElement(a);
10701 }
10702}
10703const renderDetails = (props)=>{
10704 const controlButtons = [

Callers 5

clearMethod · 0.95
clearSelectionMethod · 0.95
populateMethod · 0.95
remapChangedMethod · 0.95
handleActionMethod · 0.95

Calls 5

handleActionMethod · 0.95
selectByNameValueMethod · 0.95
remapChangedMethod · 0.95
renderDetailsFunction · 0.70
hasFilteredDataMethod · 0.45

Tested by

no test coverage detected