@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.
- package/bundle/index.d.ts +2 -0
- package/bundle/index.d.ts.map +1 -1
- package/bundle/index.js +16 -0
- package/bundle/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/docs-user/button.md +8 -0
- package/package.json +1 -1
package/docs-user/button.md
CHANGED
|
@@ -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
|