Git Product home page Git Product logo

warmaxis / new_childnode_parentnode_methods_and_classlist_js_tests Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 7 KB

Some tests of working new ChildNode, ParentNode methods and classList in JavaScript. You can try if your browser supports this new things or tests your polyfills :-)

Home Page: https://warmaxis.github.io/New_ChildNode_ParentNode_methods_and_classList_JS_tests/

HTML 100.00%
js javascript html html5 dom tests browser caniuse es8

new_childnode_parentnode_methods_and_classlist_js_tests's Introduction

New ChildNode, ParentNode methods and Element.classList JavaScript tests

Some tests of working new ChildNode, ParentNode methods and classList in JavaScript.
You can try if your browser supports this new things or tests your polyfills :-)

New elements much simplify DOM operations.

More information:

Tests are written in Polish language with description methods.

Check this on https://warmaxis.github.io/New_ChildNode_ParentNode_methods_and_classList_JS_tests/

Created by Michał Milanowski

ChildNode and ParentNode methods

Tests:

  • childNodes.after()
  • ParentNode.append()
  • childNodes.before()
  • ParentNode.prepend()
  • childNodes.remove()
  • childNodes.replaceWith()

Element.classList

Tests:

  • element.classList.add()
  • element.classList.remove()
  • element.classList.contains()
  • element.classList.toggle()

Used technologies in this project:

  • JavaScript
  • ES8
  • MDN docs
  • HTML

new_childnode_parentnode_methods_and_classlist_js_tests's People

Contributors

warmaxis avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.