You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,13 @@ It is possible to customize the button and the message. You do this by putting y
52
52
</improv-wifi-serial-launch-button>
53
53
```
54
54
55
+
### Events
56
+
57
+
When the dialog is closed, a `closed` event will be fired on both `<improv-wifi-serial-launch-button>` and `<improv-wifi-serial-provision-dialog>`. This event will have a `detail` property with the following properties:
58
+
59
+
-`improv`: Boolean indicating if we connected to a device running Improv.
60
+
-`provisioned`: Boolean indicating if the device is connected to Wi-Fi.
61
+
55
62
## Browser Support
56
63
57
64
This SDK requires a browser with support for WebSerial. Currently this is supported by Google Chrome, Microsoft Edge and other browsers based on the Blink engine.
0 commit comments