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

Method changeView

packages/sanddance-explorer/src/explorer.tsx:601–606  ·  view source on GitHub ↗
(view: SandDance.types.View)

Source from the content-addressed store, hash-verified

599 }
600
601 public changeView(view: SandDance.types.View) {
602 this.changeInsight(
603 { view },
604 { label: view === '2d' ? strings.labelViewType2d : strings.labelViewType3d },
605 );
606 }
607
608 //state members which change the insight
609 public changeInsight(partialInsight: Partial<SandDance.specs.Insight>, historyAction: HistoryAction, additionalUIState?: Partial<UIState>) {

Callers

nothing calls this directly

Calls 1

changeInsightMethod · 0.95

Tested by

no test coverage detected