mmjs-core
Version:
mmjs-core hooks component vue
2 lines (1 loc) • 493 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(l){function n(t){var e;(e=l.value)==null||e.dispatchAction({type:"legendToggleSelect",name:t},{flush:!1,silent:!0})}function i(t){var e;(e=l.value)==null||e.dispatchAction({type:"highlight",name:t},{flush:!1,silent:!0})}function u(t){var e;(e=l.value)==null||e.dispatchAction({type:"downplay",name:t},{flush:!1,silent:!0})}return{legendToggleSelect:n,highlight:i,downplay:u}}exports.useLegendAction=o;