Need to update the appearance of a highlighter based on some input value? In the following demo, the highlighter is updated any time the range input value is adjusted. The available stock is displayed as a number. When no stock is available, more unique attributes are displayed.
Adjust the range input to update the highlighter. Observe how the highlighter changes in appearance as the range value changes.
The source code of this demo is available as part of the JointJS+ commercial license. Don't have a license yet? Start a trial and use the source code of this and many other demos for free, with no obligations, for 30 days.