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

Method onClick

packages/sanddance/src/viewer.ts:563–569  ·  view source on GitHub ↗
(e, search: SearchExpressionGroup)

Source from the content-addressed store, hash-verified

561
562 private preStage(stage: VegaDeckGl.types.Stage, deckProps: VegaDeckGl.DeckProps) {
563 const onClick: AxisSelectionHandler = (e, search: SearchExpressionGroup) => {
564 if (this.options.onAxisClick) {
565 this.options.onAxisClick(e, search);
566 } else {
567 this.select(search);
568 }
569 };
570 this.overrideAxisLabels(stage);
571 const polygonLayer = axisSelectionLayer(this.presenter, this.specCapabilities, this._specColumns, stage, onClick, this.options.colors.axisSelectHighlight, this.options.selectionPolygonZ);
572 const order = 1;//after textlayer but before others

Callers 1

LegendViewFunction · 0.45

Calls 1

selectMethod · 0.95

Tested by

no test coverage detected