2023-04-18 17:57:16 +02:00
|
|
|
# `Edge.Frame`
|
2023-04-06 18:16:17 +02:00
|
|
|
|
|
|
|
## Méthodes
|
|
|
|
|
2023-04-18 17:57:16 +02:00
|
|
|
### `Edge.Frame.addEventListener(name: string, listener: (event) => void)`
|
2023-04-06 18:16:17 +02:00
|
|
|
|
|
|
|
> `TODO`
|
|
|
|
|
|
|
|
## Événements
|
|
|
|
|
|
|
|
### `"title_changed"`
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface TitleChangedEvent {
|
|
|
|
detail: {
|
|
|
|
title: string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### `"size_changed"`
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface SizeChangedEvent {
|
|
|
|
detail: {
|
|
|
|
width: number
|
|
|
|
height: number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|