Skip to content

ndrean/vanjs-dialog-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explore Van.js

A VanJS powered demo app, with routing. No CSS-in-JS.

https://githubbox.com/ndrean/vanjs-dialog-modal

Mainly featuring a Modal component (<Dialog>) heavily following this model.

To enable the "click-out", you need to pass an ID to the dialog.

Features

  • Navigation powered by Universal Router with async loading.
  • Modal (<dialog>) components with forms.
  • Example with <Select> and <Datalist> with autocomplete.
  • The state is passed into the contextobject, thus updated on each component update (new navigation page).
  • No CSS in JS.
  • Vite bundled: 5.5k +

Display

npm run build
http-server ./dist -b 0.0.0.0 -p 8080

and navigate with the mobile to http://127.0.0.1:8080

About

Modal component & routing with Van.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published