0.0.6 • Published 5 years ago
altai_center v0.0.6
Altai Center
Center align a given element.
Installation
NPM
npm i altai_center
Yarn
yarn add altai_center
Ruby on Rails
Add this line to your application.js
//= require jquery/dist/jquery
//= require altai_center/dist/altai_center
Set by using the following:
$(".altai-center").altaiCenter();
Settings:
## Print log messages in your developer console.
debug: true or false
License
The gem is available as open source under the terms of the MIT License.