• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Damocless
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2019年11月23日

jquery入口函数的测试
摘要: /*编写一个自定义的jquery框架*/(function (window,undefined) { var njquery=function (selector ,) { return new jquery .prototype.init(); /*prototype==fn*/ }; jquer 阅读全文
posted @ 2019-11-23 11:53 Damocless 阅读(206) 评论(0) 推荐(0)
 
jquery实现微博输入和发布
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .comment{ width: 570px; height: 73px; resize: none; } </styl 阅读全文
posted @ 2019-11-23 10:20 Damocless 阅读(397) 评论(0) 推荐(0)
 
子组件向父组件传递
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><!--v-on不仅仅可以用于监听dom事件,也可以用于组件间的自定义事件自定义事件的流程:在子组件中,通过$emit()来 阅读全文
posted @ 2019-11-23 08:42 Damocless 阅读(286) 评论(0) 推荐(0)
 
驼峰标识
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><div id="app"> <cpn :c-info="info"></cpn><!--使用驼峰标识的话需要使用- --> 阅读全文
posted @ 2019-11-23 08:13 Damocless 阅读(607) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3