It provides the custom-element implementation of Lynx Elements in Web.
npm install @lynx-js/web-elementsIt provides the custom-element implementation of Lynx Elements in Web.
So far, support compared to Lynx Elements on the client:
| Elements | Whether support | Details |
| -------------- | --------------- | ------------ |
| Elements | | |
| image | ✅ | Full Support |
| list | ✅ | Full Support |
| scroll-view | ✅ | Full Support |
| text | ✅ | Full Support |
| view | ✅ | Full Support |
| X-Elements | | |
| svg | ✅ | Full Support |
| x-blur-view | ✅ | Full Support |
| x-input | ✅ | Full Support |
| x-textarea | ✅ | Full Support |
| x-swiper | ✅ | Full Support |
| x-viewpager-ng | ✅ | Full Support |
| x-foldview-ng | ✅ | Full Support |
| x-refresh-view | ✅ | Full Support |
| x-overlay-ng | ✅ | Full Support |
| x-audio-tt | ✅ | Full Support |
``javascript
import '@lynx-js/web-elements/all';
import '@lynx-js/web-elements/index.css';
document.body.innerHTML =
Hello lynx.;``
See our website for more information.