1.1.0 • Published 3 years ago

vnnative3-webview v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Vn Native 3 Webview

This package will help us draw layout application.

How to install

This package installed in Vn Native version 3. To install it

`npm install vnnative3-webview`

How to use

To use it us need

`import VnNative3HTMLElement from 'vnnative3-webview/dist/HTMLElement/index';`

Feature

Empty example

If you wanna empty all of any element, so we can use:

(new VnNative3HTMLElement).empty(element_id)

Or

(new VnNative3HTMLElement).empty(element_id).add(element_id,`<span>{{test}}</span>`,{
    test : "hello world"
})

Add example

You can use it after render view

`(new VnNative3HTMLElement).add(element_id,`<span>{{test}}</span>`,{
    test : "hello world"
})`

Or

`(new VnNative3HTMLElement).next(() => {
    console.log("Do a something.");
}).add(element_id,`<span>{{test}}</span>`,{
    test : "hello world"
})`

Or

(new VnNative3HTMLElement).add(element_id,`<span>{{test}}</span>`,{
    test : "hello world"
}).next(() => {
    console.log("Do a something.");
}).next(() => {
    console.log("Do a something.");
}).next(() => {
    console.log("Do a something.");
}).add(element_id,`<span>{{test}}</span>`,{
    test : "hello world"
})

Make example

let makeExample = (new VnNative3HTMLElement).make(`<span>{{test}}</span>`,{
    test : "hello world"
});

Or

let makeExample = (new VnNative3HTMLElement).next(() => {
    console.log("Do a something.");
}).make(`<span>{{test}}</span>`,{
    test : "hello world"
});

Remove example

(new VnNative3HTMLElement).remove(element_id)

Licence

Licence : MIT

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago