1.1.8 • Published 7 years ago

@melmacaluso/mhm v1.1.8

Weekly downloads
-
License
ISC
Repository
-
Last release
7 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

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago