Methods
(static) triggerText(item) → {string}
triggerText: The text the collapsed trigger shows for a dropdown item. Prefers the item's triggerTitle where it carries one: the video and subtitle slots use it to keep the trigger free of what only reads correctly beside the other entries in the open menu. Items without one (audio) fall through to title unchanged. Returns "" for an invalid item.
Parameters:
| Name | Type | Description |
|---|---|---|
item | object |
Returns:
- Type:
- string