An open API service indexing awesome lists of open source software.

https://github.com/steveleetn91/vnnative3-element


https://github.com/steveleetn91/vnnative3-element

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# vnnative3-element
Support action with Element

## How to install ?

npm install vnnative3-element

## Import

import Vnnative3Element from "vnnative3-element/dist/libs/Vnnative3Element"

## How to use
You can use same :

Vnnative3Element.forcus(element_id).empty().add("

Hello

");

Or

Vnnative3Element.forcus(element_id).addEventListener( 'click' , (event : Event) => {
alert("OK");
} ).empty().add("

Hello

");

Or

Vnnative3Element.forcus(element_id).setAttribute( 'id' , "test");

Or

Vnnative3Element.forcus(element_id).empty().add("

Hello

");