Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hsynlms/zeynepjs

A lightweight multi-level jQuery side menu plugin
https://github.com/hsynlms/zeynepjs

jquery menu multi-level-menu navigation side-menu

Last synced: 18 days ago
JSON representation

A lightweight multi-level jQuery side menu plugin

Awesome Lists containing this project

README

        

# zeynepjs
> A lightweight multi-level jQuery side menu plugin.

[![Downloads](https://img.shields.io/npm/dm/zeynepjs.svg)](https://npmjs.com/zeynepjs)
[![install size](https://packagephobia.com/badge?p=zeynepjs)](https://packagephobia.com/result?p=zeynepjs)

`zeynepjs` is a light-weight multi-level jQuery side menu plugin. It's fully customizable and is compatible with modern browsers such as Google Chrome, Mozilla Firefox, Safari, Edge and Internet Explorer.

## Install
```
$ npm install zeynepjs --save
```

## Usage

```js
var zeynep = $('.zeynep').zeynep({
load: function (element, options) {
console.log('zeynepjs menu is successfully loaded')
}
})

// opens the menu
zeynep.open()

// closes the menu
zeynep.close()

// dynamically event binding
zeynep.on('closing', function () {
console.log('guys, the side menu is closing')
})

// destroys the menu
zeynep.destroy()
```

## Using with Webpack
Once the library installed in your project, just import it:

```js
import 'zeynepjs'
```

## Options

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| htmlClass | boolean | true | If `true` zeynepjs will add some classes to `