1.1.8 • Published 6 years ago

@melmacaluso/mhm v1.1.8

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

MHM.js - Utility Framework

tl;dr: MHM.js is a lightweight utility framework that streamlines simple tasks without the need to write javascript working through your html codebase.

Classes Toggler

Target To be placed in the dom element to toggle

<div data-mhm-id="TargetExample"></div>

Toggler Target To fill in with the dom element to toggle

<button
  data-mhm-toggle-target="TargetExample"
  data-mhm-toggle-class="your-class-to-toggle"
></button>

Toggler Class To fill in with the class to toggle

<button data-mhm-toggle-class="your-class-to-toggle"></button>

Full Example:

<div data-mhm-id="TargetExample"></div>

<button
  data-mhm-toggle-target="TargetExample"
  data-mhm-toggle-class="your-class-to-toggle"
></button>
1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago