Subscribe to highlight object event. This is called whenever an object is highlighted.
Token that can be used to unsubscribe from the event.
Function that is called when event is triggered.
Set state of component highlighting.
// Example usage
component.setHighlight(true)
Object itself
Boolean or number between 0 and 1, where 1 is fully highlighted.
Interface for an object that can be highlighted.