1.3.5 • Published 1 year ago

hola.js v1.3.5

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

holajs

A lightweight and easy-to-use library for manipulating the DOM and working with events.

Features

  • A variety of methods for selecting elements, traversing the DOM, inserting content, and handling events
  • Concise and intuitive syntax
  • Lightweight and efficient

Installation

To install the library, you can use npm:

npm i hola.js

Usage

To use the library, you need to include it in your project and create a new instance of the $ function:

<script src="path/to/hola.js"></script>
<script>
 var $ = new $();
</script>

You can then use the various methods provided by the library to manipulate the DOM and work with events. For example:

// Select an element
var el = $("#my-element");

// Add a class to the element
el.addClass("active");

// Set the text content of the element
el.text("Hello, World!");

// Attach a click event listener to the element
el.on("click", function() {
  // Toggle the "active" class on the element
  el.toggleClass("active");
});

For more information on the available methods and how to use them, see the documentation.

Contributing

We welcome contributions to the library! If you have an idea for a new feature or a bug fix, please open an issue or a pull request on the GitHub repository.

License

The library is released under the MIT license.

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.1.1

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.0.1

3 years ago

1.0.0

3 years ago