插件 jQuery.powertip 中文API文档
插件 jQuery.powertip 中文API文档 https://github.com/stevenbenner/jquery-powertip
PowerTip is a jQuery tooltip plugin with some advanced features like hover intent testing, tooltip queueing, and support for complex data. It also has that rarest of features in jQuery plugins, it’s not abandonware.
- Download the latest stable release from the PowerTip web site or install jquery-powertip from npm.
- Add a title or data-powertip attribute to the elements you want to show tooltips for.
- Run the
powerTip()method on those elements.
You can find the documentation for the latest release version on the PowerTip web site. You will find the documentation for the latest in-development version in the doc folder in the GitHub repository.
For bug reports, questions, feature requests, or other suggestions the best way to contact me is to create an issue on GitHub.
Make PowerTip better! Join the league of awesome today by submitting a patch! The best way to submit patches is to fork this project on GitHub and submit a pull request. But if you are unwilling or unable to use GitHub I will accept patches in any way you can get them to me (JSFiddle, pastebin, text file, whatever).
These are general guidelines, not rules. I won’t refuse a pull request just because it isn’t the style that I use.
- Line wrap: Soft-wrap at 80 characters (go further if wrapping makes code less readable).
- Indentation: Use tabs for indentation.
- JSDoc comments: Use closure compiler annotations.
- Method chaining: Avoid long chained method statements, two or three max.
(This project is released under the MIT license.)
Copyright (c) 2019 Steven Benner (https://stevenbenner.com/)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.