开源软件名称(OpenSource Name):inferusvv/MeeInk开源软件地址(OpenSource Url):https://github.com/inferusvv/MeeInk开源编程语言(OpenSource Language):JavaScript 40.9%开源软件介绍(OpenSource Introduction):MeeInk v1.0.0MeeInk is a jQuery plugin which allows you to easily add material design ink effect to elements when you click them. Plugin is based on CSS animation what give you good performance including mobile devices. DemoCheck out demo page here. SetupInstall with Bowerbower install MeeInk --save Install with NPMnpm install meeink --save Include scripts<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="jquery.mee-ink.js"></script> Include styles<link rel="stylesheet" href="mee-ink.css"> Initialize plugin$(document).ready(function() {
$('.btn').meeInk({
// options
});
}); DocumentationPlugin have several number of options which allows you to customize it as you want. animationClassanimationClass: 'mee-ink-animated mee-ink-animation' Class which triggers to start CSS animation. elementClasselementClass: 'mee-ink-el' Class that is added to initialized element. inkClassinkClass: 'mee-ink' Class for ink inside element with styles. overflowHiddenClassoverflowHiddenClass: 'mee-ink-overflow-hidden' Class will be added if your element don't have positionRelativeClasspositionRelativeClass: 'mee-ink-pos-relative' Class will be added if your element have IssuesFound an issue? You are welcome here. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论