docs: ui/size-change -> ui/notifications/size-change (#69)
This commit is contained in:
parent
1a6f237501
commit
bb243187d4
1 changed files with 2 additions and 2 deletions
|
|
@ -632,12 +632,12 @@ Host MUST send this notification if the tool execution was cancelled, for any re
|
||||||
Host MUST send this notification before tearing down the UI resource, for any reason, including user action, resource re-allocation, etc. The Host MAY specify the reason.
|
Host MUST send this notification before tearing down the UI resource, for any reason, including user action, resource re-allocation, etc. The Host MAY specify the reason.
|
||||||
Host SHOULD wait for a response before tearing down the resource (to prevent data loss).
|
Host SHOULD wait for a response before tearing down the resource (to prevent data loss).
|
||||||
|
|
||||||
`ui/size-change` - UI’s size changed
|
`ui/notifications/size-change` - UI’s size changed
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
{
|
{
|
||||||
jsonrpc: "2.0",
|
jsonrpc: "2.0",
|
||||||
method: "ui/size-change",
|
method: "ui/notifications/size-change",
|
||||||
params: {
|
params: {
|
||||||
width: number, // Viewport width in pixels
|
width: number, // Viewport width in pixels
|
||||||
height: number // Viewport height in pixels
|
height: number // Viewport height in pixels
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue