davidjr82 / stimulus-toggler

Hotwired stimulus toggler based on reactivity concept.

Home Page:https://davidjr82.github.io/stimulus-toggler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is Stimulus Toggler?

It is a Hotwired Stimulus controller used to toggle classes of the DOM elements.

Please, go to (https://davidjr82.github.io/stimulus-toggler/) to see the full documentation.

Table of Contents

Installation

$ npm install stimulus-toggler

Register the Controller

import { Controller } from '@hotwired/stimulus';
import Toggler from 'stimulus-toggler';
// ...
// Manually register `stimulus-toggler` as a stimulus controller
application.register('toggler', Toggler);

Usage

Please, go to (https://davidjr82.github.io/stimulus-toggler/) to see the full documentation.

License

This project is licensed under the MIT License.

About

Hotwired stimulus toggler based on reactivity concept.

https://davidjr82.github.io/stimulus-toggler/

License:MIT License


Languages

Language:JavaScript 99.4%Language:TypeScript 0.6%