30 lines
382 B
Markdown
30 lines
382 B
Markdown
|
# `EdgeFrame`
|
||
|
|
||
|
## Méthodes
|
||
|
|
||
|
### `EdgeFrame.addEventListener(name: string, listener: (event) => void)`
|
||
|
|
||
|
> `TODO`
|
||
|
|
||
|
## Événements
|
||
|
|
||
|
### `"title_changed"`
|
||
|
|
||
|
```typescript
|
||
|
interface TitleChangedEvent {
|
||
|
detail: {
|
||
|
title: string
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### `"size_changed"`
|
||
|
|
||
|
```typescript
|
||
|
interface SizeChangedEvent {
|
||
|
detail: {
|
||
|
width: number
|
||
|
height: number
|
||
|
}
|
||
|
}
|
||
|
```
|