jointjs
Version:
JavaScript diagramming library
9 lines (5 loc) • 527 B
HTML
<p>Changes the opacity of an arbitrary cell view's SVG node.</p>
<p>When a cell is highlighted with the opacity highlighter, the node determined by the selector is given the <code data-lang="css">.joint-highlight-opacity</code> class. To customize the look of this highlighted state, you can add custom CSS rules that affect this class name.</p>
<p>This highlighter does not currently have any options.</p>
<p>Example usage:</p>
<pre><code>joint.highlighters.opacity.add(cellView, 'body', 'my-highlighter-id');</code></pre>