Skip to content

csabatibortoth/HTMLElementGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTMLElementGenerator

It's a JQuery based tool to generate HTML5 elements. It can generate the following elements:

  • div
  • span
  • p
  • h1, h2, h3, h4, h5, h6

Prerequisites:

JQuery v3.3.1 loaded to the html file.

Usage:

HTMLElementGenerator({
    inputType: TYPE,
    parent: ID_OF_PARENT_ELEMENT, //if not provided it generates on body
    id: ID_OF_GENERATED_ELEMENT,
    class: CLASS_OF_GENERATED_ELEMENT,
    text: TEXT_OF_THE_ELEMENT, //if HTML element has the attribute
});

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Releases

0.2.1

Added:

  1. IMG generation

0.2.0

Added:

  1. onClick event for elements
  2. onChange event for elements

0.1.2

Fix:

  1. Fixed element generation.

0.1.1

Fix:

  1. Fixed element generation when no parent added.

0.1.0

Added:

  1. Core element generation

About

It's a JQuery based tool to generate HTML5 elements. It can generate the following elements:

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published