beherca / easy-jq-plugin

A simple library to easy the process of making jquery plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easy-jq-plugin

A simple library to easy the process of making jquery plugin

Features

With this plugin, you can create your own jquery plugin

  • $().your-plugin-name(): When no parameter is passed in, your plugin is initialized with default configuration
  • $().your-plugin-name(obj): When object parameter is passed in, object will be as new configuration to override your default configuration
  • $().your-plugin-name(str, obj): Pass string as method name in to call internal method with the name, and object is the configuration object
  • $().your-plugin-name(str, [arguments]): Pass string as method name in to call internal method with the name, and array is the configuration arguments

Usage

Example can be found here

About

A simple library to easy the process of making jquery plugin


Languages

Language:JavaScript 72.2%Language:HTML 27.8%