Methods
(static) isAssignedInUI5(hotspotId, assignedSelectors) → {boolean}
XRAY-5950: Check if we need to hide the backend (UR) hotspot/tile because we already have a new assignment for this element.
- CMP4 - Help4.widget.companionCore.data.Help.filterUrTiles
- CMP3 - Help4.controller.Handler.setTiles
Parameters:
Name | Type | Description |
---|---|---|
hotspotId |
string | |
assignedSelectors |
Set.<string> | list of assigned UI5 selectors |
- Source:
Returns:
true if the hotspot is close to a UI5 element that already has an assignment
- Type
- boolean
(async, static) pointToSelector(engine, param) → {Promise.<Object>}
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine | |
param |
Object |
- Source:
Returns:
- Type
- Promise.<Object>
(async, static) selectorToInfo(engine, param) → {Promise.<Object>}
Playback of user-assigned UR hotspots, not backend help tiles
matching selector with UR hotspot (migrating if necessary) and returning hotspot data promise
Parameters:
Name | Type | Description |
---|---|---|
engine |
Help4.engine.ur.UrHarmonizationEngine | |
param |
Object |
- Source:
Returns:
- Type
- Promise.<Object>