jquery-my-plugin
v1.0.0
Published
Made with create-jquery-plugin
Downloads
23
Maintainers
Readme
jquery-my-plugin
Made with create-jquery-plugin
Requirements
Installation
NPM
npm install jquery-my-plugin
Yarn
yarn add jquery-my-plugin
CDN - jsDelivr
<!-- CSS -->
<link href="https://cdn.jsdelivr.net/npm/jquery-my-plugin/dist/css/jquery-my-plugin.min.css" rel="stylesheet" type="text/css" />
<!-- JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/jquery-my-plugin/dist/js/jquery-my-plugin.min.js" type="text/javascript"></script>
CDN - UNPKG
<!-- CSS -->
<link href="https://unpkg.com/jquery-my-plugin/dist/css/jquery-my-plugin.min.css" rel="stylesheet" type="text/css" />
<!-- JavaScript -->
<script src="https://unpkg.com/jquery-my-plugin/dist/js/jquery-my-plugin.min.js" type="text/javascript"></script>
Usage
Include CSS
<link href="https://cdn.jsdelivr.net/npm/jquery-my-plugin/dist/css/jquery-my-plugin.min.css" rel="stylesheet" type="text/css" />
HTML
<div id="element"></div>
Include jQuery
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
Include Plugin JS
<script src="https://cdn.jsdelivr.net/npm/jquery-my-plugin/dist/js/jquery-my-plugin.min.js" type="text/javascript"></script>
Initialize the Plugin
$('#element').myPlugin();
License
MIT
Created with :heart: create-jquery-plugin