1.7.5 • Published 11 months ago

ui-wall v1.7.5

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

ui-wall

A lightweight UI framework with state support , custom styles and SmallQuery(my version of jQuery)

How to use?

Add the script from unpkg to your project

Examples

UI.$("#root").html("Hello!")

Use client-side rendering:

var csr = new UI.CSR();
///when goes to localhost:3000/p?=hello
csr.add("hello", "<h1>Hello World!</h1>")
csr.render();

Or create components:

var d = UI.component({
    html: "<h1>Hello!</h1>",
    css: "color: blue",
    click: () => {alert('World!')}
})

Changed: Added touchEvents and VNodes

    UI.handleTouch(document.body, (touches) => {
        console.log(touches[0].pageX, ";", touches[0].pageY);
    })

Use of component with render

    UI.component(props).render("<app>{{msg}}</app>");

Fast Routing - replaces anchor event handler

    UI.fastRouting();

Major Release

  • Lazy Routing using IntersectionObserver
  • Added UI.modal function
  • VNode getAPIData and from methods added
  • SPAs with hydration and
1.7.5

11 months ago

1.3.9

1 year ago

1.4.5

1 year ago

1.6.0

1 year ago

1.3.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago