mgn-auto-height

0.0.0 • Public • Published

mgn-auto-height ( Don't Need jQuery )

Implement accordion function.

  • Target browser : IE9+

Install

npm i mgn-auto-height -S

Or Download raw data

↓ download "mgn-auto-height.js"


Import

import mgnAutoHeight from 'mgn-auto-height';

Constructor

new mgnAutoHeight(element);
Argument Data type Default Descroption
element String -(Required) Specify target element.
ex) ".j-autoheight"

Method

Method Argument Descroption
SetTarget() - Re-adjust height.

Demo

https://frontend-isobar-jp.github.io/mgn-auto-height/

import mgnAutoHeight from 'mgn-auto-height';

new mgnAutoHeight( ".j-autoheight" );

Dependents (0)

Package Sidebar

Install

npm i mgn-auto-height

Weekly Downloads

0

Version

0.0.0

License

MIT

Unpacked Size

6.39 kB

Total Files

4

Last publish

Collaborators

  • frontend-isobar-jp