docs/src/integration/bindings/javascript.rst
With lv_binding_js <https://github.com/lvgl/lv_binding_js>__ you can use LVGL from within JavaScript.
It uses React's virtual DOM concept to manipulate LVGL UI components, providing a familiar React-like experience to users.
Code
Code Running on Real Device
Features
Demo
See the demo <https://github.com/lvgl/lv_binding_js/tree/master/demo>__ folder
Building
The following are developer notes on how to build lvgljs on your native platform. They are not complete guides, but include notes on the necessary libraries, compile flags, etc.
Build Notes for embedded Linux device <https://github.com/lvgl/lv_binding_js/blob/master/doc/build/build-device.md>__Build Notes for SDL Simulator (Linux and macOS) <https://github.com/lvgl/lv_binding_js/blob/master/doc/build/build-simulator.md>__JS Bundle build Notes <https://github.com/lvgl/lv_binding_js/blob/master/doc/build/js-bundle.md>__Components
View <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/View.md>__Image <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Image.md>__Button <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Button.md>__Text <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Text.md>__Input <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Input.md>__Textarea <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Textarea.md>__Switch <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Switch.md>__Checkbox <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Checkbox.md>__Dropdownlist <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Dropdownlist.md>__ProgressBar <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/ProgressBar.md>__Line <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Line.md>__Roller <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Roller.md>__Keyboard <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Keyboard.md>__Calendar <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Calendar.md>__Chart <https://github.com/lvgl/lv_binding_js/blob/master/doc/component/Chart.md>__Font
Builtin-Symbol <https://github.com/lvgl/lv_binding_js/blob/master/doc/Symbol/symbol.md>__Animation
Animation <https://github.com/lvgl/lv_binding_js/blob/master/doc/animate/animate.md>__Style
.. include::https://github.com/lvgl/lv_binding_js/blob/master/doc/style/position-size-layout.md
position-size-layout <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/position-size-layout.md>__boxing-model <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/boxing-model.md>__color <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/color.md>__flex <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/flex.md>__grid <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/grid.md>__font <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/font.md>__opacity <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/opacity.md>__display <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/display.md>__background <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/background.md>__scroll <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/scroll.md>__shadow <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/shadow.md>__recolor <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/recolor.md>__line <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/line.md>__transition <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/transition.md>__transform <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/transform.md>__JSAPI
network <https://github.com/lvgl/lv_binding_js/blob/master/doc/jsapi/network.md>__filesystem <https://github.com/lvgl/lv_binding_js/blob/master/doc/jsapi/fs.md>__dimension <https://github.com/lvgl/lv_binding_js/blob/master/doc/jsapi/dimension.md>__Thanks
lvgljs depends on following excellent work:
lvgl <https://github.com/lvgl/lvgl>__: Create beautiful UIs for any MCU, MPU and display typeQuickJS <https://bellard.org/quickjs/>__: JavaScript enginelibuv <https://github.com/libuv/libuv>__: platform abstraction layercurl <https://github.com/curl/curl>__: HTTP clienttxiki.js <https://github.com/saghul/txiki.js>__: Tiny JavaScript runtime