Skip to content

Triet-li/Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library

I haven't optimized this code yet, and the styles are not very good too( cause I'm lazy )

  • My notes on this project
  1. You can add event listeners inside function ( inside loops ) and they still work ( detect ) afterward

  2. You can pass as many arguments as you want to the callback function ( function in event listener ), including the event object that reference the event.

  3. .parentNode.removeChild(): remove itself

while(node[0]) <node[0]>.parentNode.removeChild(<node[0]>) : remove list of nodes

  • Take value in : .value
  • Take value in button or other tags: .textContent (maybe)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published