@ixfx/components 0.5.14 → 0.5.15

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.
@@ -368,6 +368,14 @@ btn.hideLabel = true;
368
368
  btn.disabled = true;
369
369
  ```
370
370
 
371
+ #### Invoke primary action
372
+
373
+ ```js
374
+ btn.invoke(); // Invokes the primary button as if clicked
375
+ ```
376
+
377
+ In default mode, this fires a `click` event. In switcher mode, it fires `menu-command` with the currently selected command.
378
+
371
379
  ---
372
380
 
373
381
  ### Responsive behaviour
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ixfx/components",
3
3
  "type": "module",
4
- "version": "0.5.14",
4
+ "version": "0.5.15",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "ISC",