vnnative3-element
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

vnnative3-element

Support action with Element

How to install ?

npm install vnnative3-element

Import

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

How to use

You can use same :

Vnnative3Element.forcus(element_id).empty().add("<h1>Hello<h1>");

Or

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

Or

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

Or

 Vnnative3Element.forcus(element_id).empty().add("<h1>Hello<h1>");

Readme

Keywords

Package Sidebar

Install

npm i vnnative3-element

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.96 kB

Total Files

13

Last publish

Collaborators

  • tanitech