MCPcopy Create free account
hub / github.com/microsoft/SandDance / onTextHover

Method onTextHover

docs/app/js/sanddance-app.js:9807–9811  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

9805 });
9806 }
9807 onTextHover(e, t) {
9808 //return true if highlight color is different
9809 if (!t || !this.options.getTextColor || !this.options.getTextHighlightColor) return false;
9810 return !_vegaDeckGl.util.colorIsEqual(this.options.getTextColor(t), this.options.getTextHighlightColor(t));
9811 }
9812 createConfig(c) {
9813 const { getTextColor , getTextHighlightColor , getTextHighlightAlphaCutoff , onTextClick } = this.options;
9814 const defaultPresenterConfig = {

Callers 1

newTextLayerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected