We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title></title> </head> <body> <div style="margin-top: 100px;"> <div id="test">nihao</div> </div> <script src="sea-modules/seajs/seajs/2.2.0/sea.js"></script> <script src="sea-modules/seajs/seajs-style/1.0.2/seajs-style-debug.js"></script> <script> seajs.config({ base: "./sea-modules/", alias: { "$": "jquery/jquery/1.10.1/jquery", "$-debug": "jquery/jquery/1.10.1/jquery-debug", "tip": "arale/tip/1.2.2/tip" } }); seajs.use("./js/main"); </script> </body> </html>
define(function (require, exports, module) { var Tip = require("tip"); var t = new Tip({ trigger: '#test', content: '<div style="padding:10px">我是内容 我是内容</div>', arrowPosition: 10 }); });
我的代码没报错,但是效果貌似没出来 鼠标到test的div的时候,为什么看不到提示,提示貌似在left:1920的地方出来了。。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的代码没报错,但是效果貌似没出来
鼠标到test的div的时候,为什么看不到提示,提示貌似在left:1920的地方出来了。。
The text was updated successfully, but these errors were encountered: