kgs-socket
v0.0.2
Published
Capacitor plugin for managing connection to KGS server
Readme
kgs-socket
Capacitor plugin for managing connection to KGS server
Install
npm install kgs-socket
npx cap syncAPI
alert(...)
alert(options: AlertOptions) => Promise<void>Show an alert dialog
| Param | Type |
| ------------- | ----------------------------------------------------- |
| options | AlertOptions |
Since: 1.0.0
connect()
connect() => Promise<void>Interfaces
AlertOptions
| Prop | Type | Description | Default | Since |
| ----------------- | ------------------- | --------------------------------- | ----------------- | ----- |
| title | string | Title of the dialog. | | 1.0.0 |
| message | string | Message to show on the dialog. | | 1.0.0 |
| buttonTitle | string | Text to use on the action button. | "OK" | 1.0.0 |
