1.0.20 • Published 5 years ago

altai_toggle v1.0.20

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Altai Toggle

Slide or Fade toggle elements.

Installation

NPM
npm i altai_toggle
Yarn
yarn add altai_toggle
Ruby on Rails

Add this line to your application.js

//= require altai_toggle/dist/altai_toggle

Set by using the following:

$(".altai-toggle").altaiToggle();

Settings:

##
easing: "linear"

## Available effect types.
effect: "slide" or "fade"

## Will trigger the toggle action.
klass: ".trigger"

## Toggle box appearance speed when triggered.
speed: "fast", "medium", "slow" or numeric value

## Hide or show toggle box on load.
hide: true or false

## Hide or not toggle box on window resize.
close: true

##
wrapper: true

##
wrapperKlass: "altai-toggle"

##
wrapperFloat: "right"

##
wrapperWidth: 300,

## Print log messages in your developer console.
debug: true or false

easing: "linear", effect: "slide", hide: true, klass: ".altai-trigger", speed: "fast", close: true, wrapper: true, wrapperKlass: "altai-toggle", wrapperFloat: "right", wrapperWidth: 300, debug: false

License

The gem is available as open source under the terms of the MIT License.

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

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

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago