Go to file
Kinneyzhang 2d463bb784 chore(etaf-ui): switch renderer path to ebox
Keep the official UI catalog on the standalone low-level renderer boundary.
2026-08-05 09:15:43 +08:00
tests feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
.gitignore feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
etaf-ui.el feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
Makefile chore(etaf-ui): switch renderer path to ebox 2026-08-05 09:15:43 +08:00
README.md feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
README.zh-CN.md feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00

etaf-ui

etaf-ui is the official ETAF Component catalog. It is a normal optional package above etaf; it does not add a second Control or Widget model. Button, Checkbox, Label, Panel, and DataGrid are all ordinary Components with the same View, props, slots, events, and Data contracts.

(require 'etaf-ui)

(let ((done (etaf-ref nil)))
  (etaf-view
   (etaf-checkbox
    :checked (etaf-value done)
    :label "Done"
    :on-change (lambda (next) (setf (etaf-value done) next)))))

Run make check EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs from this directory.