27 lines
2.4 KiB
Markdown
27 lines
2.4 KiB
Markdown
# Endor UI examples
|
|
|
|
| File | Purpose |
|
|
| --- | --- |
|
|
| [source-layout.endor](source-layout.endor) | Source measurement reads its initial Mount parent; source arrangement moves a child and a click updates the shared layout model. |
|
|
| [source-hit.endor](source-hit.endor) | Source circle hit testing, ordinary Block click subscriptions and fallback to the parent through transparent space. |
|
|
| [source-paint.endor](source-paint.endor) | Source paint overrides render checked commands in the window; a source Button method updates the shared tint model. |
|
|
| [visual-protocols.endor](visual-protocols.endor) | Real source calls for constrained native measurement, arrangement and managed paint-command results from live Mounts. |
|
|
| [mount-lifecycle.endor](mount-lifecycle.endor) | Source onMount/onUnmount methods, two occurrences of one object, ordered notifications and retained Mount lifetime. |
|
|
| [events.endor](events.endor) | Managed event subscriptions, source onEvent override and numbered capture/target/bubble steps from native input. |
|
|
| [native-subclasses.endor](native-subclasses.endor) | Real native TextBlock/Button/Page source subclasses, inherited fields, method overrides and shared field bindings. |
|
|
| [classes.endor](classes.endor) | Endor class fields, inheritance, overriding, a retained receiver and Event arguments; native keyboard input updates shared model properties. |
|
|
| [managed-types.endor](managed-types.endor) | Callable managed Endor types, one shared counter, two bound displays and a language callback invoked from native Button input. |
|
|
| [page.endor](page.endor) | Four top-level statements construct text, a rectangle and a page, then call page.render; no main wrapper. |
|
|
| [main.endor](main.endor) | The earlier function-entry form, producing the same frame as page.endor. |
|
|
| [hello.endor](hello.endor) | Richer function-entry example covering a helper, Row/Column and Spacer. |
|
|
| [fonts.endor](fonts.endor) | Mixed Chinese/Latin text and proportional widths, with rectangles following narrow and wide letters. |
|
|
|
|
Submit a file as the UTF-8 body of a namespace PUT request. No namespace,
|
|
scene, render block or imports belong in the source.
|
|
|
|
The live `/agent` guide embeds page.endor exactly. Remote CI executes the examples through
|
|
Aster and checks the resulting coordinates and source ranges after VM cleanup.
|
|
The file is client-side sample material; Tessera's API stores source by namespace.
|
|
|
|
Return to the [project guide](../README.md).
|