| 1 |
## API Report File for "@lumino/properties" |
| 2 |
|
| 3 |
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). |
| 4 |
|
| 5 |
```ts |
| 6 |
|
| 7 |
// @public |
| 8 |
export class AttachedProperty<T, U> { |
| 9 |
constructor(options: AttachedProperty.IOptions<T, U>); |
| 10 |
coerce(owner: T): void; |
| 11 |
get(owner: T): U; |
| 12 |
readonly name: string; |
| 13 |
set(owner: T, value: U): void; |
| 14 |
} |
| 15 |
|
| 16 |
// @public |
| 17 |
export namespace AttachedProperty { |
| 18 |
export function clearData(owner: unknown): void; |
| 19 |
export interface IOptions<T, U> { |
| 20 |
changed?: (owner: T, oldValue: U, newValue: U) => void; |
| 21 |
coerce?: (owner: T, value: U) => U; |
| 22 |
compare?: (oldValue: U, newValue: U) => boolean; |
| 23 |
create: (owner: T) => U; |
| 24 |
name: string; |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
``` |