@touchcastllc/napster-companion-api-dev 2.1.0-alpha.0 → 2.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button/trigger.d.ts +2 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.standalone.js +1 -1
- package/package.json +1 -1
package/lib/button/trigger.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export interface Trigger {
|
|
|
5
5
|
setState(state: TriggerState): void;
|
|
6
6
|
/** Put keyboard focus on the clickable node (CA-1139: after a session ends). */
|
|
7
7
|
focus(): void;
|
|
8
|
+
/** Whether the clickable node holds keyboard focus. */
|
|
9
|
+
hasFocus(): boolean;
|
|
8
10
|
/** Release the trigger. SDK-owned nodes are removed; host-owned nodes are restored. */
|
|
9
11
|
destroy(): void;
|
|
10
12
|
}
|