No description
Find a file
Dietmar Maurer 146d7e577c demo: adapt to pwt api changes and add panic hook
- Update usage of Fab, FabMenu, DisplayField, and gestures to match
  recent API changes in pwt.
- Add a custom panic hook to display panic messages in the browser
  window.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2025-12-10 12:44:35 +01:00
counter cleanup after split-out from proxmox-yew-widget-toolkit 2024-09-27 17:56:19 +02:00
counter2 add counter2 example (functional component) 2024-09-27 17:56:29 +02:00
demo demo: adapt to pwt api changes and add panic hook 2025-12-10 12:44:35 +01:00
form demo: adapt to pwt api changes and add panic hook 2025-12-10 12:44:35 +01:00
loader cleanup after split-out from proxmox-yew-widget-toolkit 2024-09-27 17:56:19 +02:00
mobile cleanup after split-out from proxmox-yew-widget-toolkit 2024-09-27 17:56:19 +02:00
mobile2 demo: adapt to pwt api changes and add panic hook 2025-12-10 12:44:35 +01:00
pwt Update pwt subtree to d6ed68117198ca602f75d5f72744c5c069a666ba 2025-12-10 12:24:50 +01:00
pwt-assets Update pwt-assets subtree to c92bbe4270e2a40f62e46f6233fcbbe568d47478 2025-12-10 12:25:15 +01:00
themes cleanup after split-out from proxmox-yew-widget-toolkit 2024-09-27 17:56:19 +02:00
.gitignore add toplevel .gitignore file 2024-09-27 17:56:39 +02:00
LICENSE-APACHE add Apache 2.0 license text 2024-09-28 09:52:54 +02:00
LICENSE-MIT add MIT license text 2024-09-28 09:52:41 +02:00
Makefile Squashed 'pwt-assets/' changes from 6aa88033..c92bbe42 2025-12-10 12:25:15 +01:00
README.md add toplevel readme file 2024-09-28 10:20:58 +02:00

Example code for the Proxmox Yew Widget Toolkit

This repository contain the main demo code and a few other examples on how to use the toolkit.

To simplify usage, we included the necessary toolkit source as git subtree (directory pwt and pwt-assets)

All examples assume that you have a working trunk installation. Each directory contains a Readme file with further instructions.

We currently have the following example:

  • demo: Main demo showing most of the available widgets
  • counter: Very simple counter demo
  • counter2: Same as counter, but using a functiional component.
  • form: This example uses different input field types, and show how they interact with the form context.
  • loader: Async load data and correcty show load mask and load errors.
  • themes: Show available themes.

The rest of the examples is experimental, unfinished code for mobile devices:

  • mobile: Very simple mobile app with page animation.
  • mobile2: More complex mobile app.