前端学习必备单词词汇集

前端单词词汇集:

(收集不易,有帮助右上角点个赞哦)

一、css

  1. style 修饰

  2. width 宽度

  3. height 高度

  4. title 想说明的

  5. text-align 水平对齐方式

  6. center 居中 left 居左 right 居右

  7. line-height 垂直对齐方式/行高 当行高等于高度时候垂直居中

  8. background 背景

  9. image 引入背景图片(url)

  10. background-position: 背景定位(x轴,y轴;)

  11. background-repeat 背景平铺

  12. :no-repeat;不平铺 repeat-x;水平平铺 repeat-y;垂直平铺

  13. background:url() repeat left center #00;

  14. 顺序:背景图片 重复 定位 颜色

  15. top/right/bottom/left/center 方向英文:上、右、下、左,中

  16. color 颜色

  17. font 文字

  18. font-family 字体

  19. font-size 字号

  20. font-weight:normal 正常 :bold 加粗

  21. font-style: normal;取消倾斜 :italic;斜体

  22. font:italic bold 24px/24px ‘楷体’;

  23. 顺序:是否斜体 是否粗体 字体大小/行高 字体

文本修饰属性:

  1. text-decoration:

  2. overline 顶划线

  3. underline 下划线

  4. line-through 中划线/删除线

  5. none 无/取消下划线

  6. display 转化显示模式 元素转化

  7. block 块

  8. inline 行内

  9. inline-block 行内块

省略号

  1. white-space:nowrap 强制不换行

  2. overflow:hidden 溢出隐藏

  3. text-overflow:ellipsis 省略号

  4. font-family:‘微软雅黑’ 让省略号在下面

  5. 必须给宽度

伪类

  1. a:link 设置未访问时候的颜色 点击后变成a的正常颜色

  2. a:visited 设置访问过后颜色

  3. a:hover 当鼠标放上去会变颜色

  4. a:active 鼠标点击变颜色

  5. auto 自动居中

  6. margin 外边距

  7. margin-top 上外边距

  8. margin-right 右外边距

  9. margin-bottom 下外边距

  10. margin-left 左外边距

  11. padding 内边距

  12. padding-top 上内边距

  13. padding-right 右内边距

  14. padding-bottom 下外边距

  15. padding-left 左外边距

  16. float 浮动 :left|right|none 左|右|不浮动

  17. cursor:pointer 小手的代码。。

  18. clear:left|right|both 清除浮动

  19. overflow:hidden 溢出隐藏

  20. index 首页

  21. base 里面写清除默认样式的

  22. text-indent:em 首行缩进 (LOGO名字)

  23. 以后logo 必须用H1引背景图片 里面写上字

  24. position:relative|absolute|fixed 定位

  25. relative 相对定位

  26. absolute 绝对定位

  27. fixed 固定定位

  28. Left/top/right/bottom 定位的偏移量

  29. z-index 改变标签z轴堆叠顺序

  30. opacity 透明代码 1不透明(0.9 0.8.。。。。) 0透明

  31. filter:alpha(opacity:0-100)

  32. input{outline:none} 取消焦点

  33. <form action="链接" method="">

  34. post 相对安全 gat 不安全

  35. input 表单 单标签

  36. type=“text” 账号/文本

  37. type=“password” 密码

  38. type=“submit” 提交

  39. type=“button” 只是一个点击按钮

  40. type=“radio” 单选框 label双标签 选项内容

  41. type=“checkbox” 复选框 label双标签 选项内容

  42. value=“提示 如 请输入密码”

  43. placeholder=“也是提示”

  44. select

  45. option 选项栏

  46. textarea 下拉框

  47. resize:none 禁止任意拖放

  48. name=“user” 账号

  49. name=“password” 密码

  50. table{ border-collapse:collapse;} 让border合并

  51. tr:

  52. colspan=“3” 横向合并

  53. rowspan=“3” 纵向合并

  54. align 左右对齐方式 middle(左)left center right

  55. valign 上下对齐方式 top center bottom

  56. cellspacing=“0” 清除外面的边距

  57. cellpadding=“0” 清楚里面的边距

102.<table cellspacing="0" cellpadding="0">

  1. <thead><tr><th>表头</th></tr></thead>

104.<tbody><tr><td>表身</td></tr></tbody>

105.<tfoot><tr><td>表低</td></tr></tfoot>

  1. </table>

  2. frameborder=“0” 取消边框

  3. screlling=“no” 取消滚动条

  4. iframe src

  5. letter-spacing:具体数值 字母间距

  6. word-spacing:数值 单词间距

  7. overflow:auto 溢出滚动

  8. visibility:hidden 隐藏

  9. charset 字符集

  10. utf-8 国际编码

  11. gb2312/gbk 中国编码

  12. author 作者

  13. copyright 版权

  14. keywords 关键词

  15. description 介绍

二、js

  1. @media screen and (max-width:900px){}; 屏幕自适应

  2. push :添加一个数组元素

  3. document :文档

  4. pop :删除最后一个数组元素

  5. console :控制台

  6. shift :删除第一个数组元素

  7. string :字符串

  8. Concat 组合数组

  9. undefined :未定义

  10. typeof :关键字

  11. join:数组转化为指定分隔符

  12. slice:返回指定数组

  13. length:数组长度

  14. Array:数组

  15. number:数字

  16. boolean:布尔

  17. alert:提示框

  18. parseInt:转化为整型数值

  19. continue:继续

  20. is NaN:非数字

  21. sort:升序

  22. break:截断 跳出

  23. reverse:倒序

  24. object:对象类型

  25. parseFloat:转化为浮点值

  26. index:索引

  27. floor:向下取整

  28. variable:变量

  29. ceil:向上取整

  30. round:四舍五入

  31. abs:返回绝对值

  32. eval:解析字符串并运算

  33. max:比较最大值

  34. return:返回

  35. min:比较最小值

  36. addEventListener:事件名 函数

  37. to.fixed:保留小数点

  38. attachEvant:(on)事件名

  39. random:随机数

  40. eletment:元素

  41. eventName:事件名

  42. function:函数

  43. removeEventListener:事件解除

  44. detachEvent:删除已注册事件

  45. open():弹出一个新窗口

  46. function:函数(方法)

  47. showModalDialog:弹出一个模式窗口

  48. close():关闭当前窗口

  49. Date:日期对象

  50. getFullYear():年份

  51. getMonth():月份(0–11)

  52. getDate():几号

  53. getDay():星期几(周一至周六)

  54. getHours():小时(0–23)

  55. getMinites():分钟

  56. getSeconds():秒数(0–59)

  57. getMilliseconds():毫秒数

  58. getTime():从1970至今的毫秒数

  59. Date.now():从1970至今的毫秒值

  60. tolocaleDatestring():输出本地化的日期

  61. setTimeout:延迟时间

  62. tolocaleTimestring():输出本地化得时间

  63. clearTimeout:定时器对象

  64. tolocalestring:输出本地化的日期和时间

  65. setInterval:间隔时间

  66. clearInterval:停止

  67. window.status:浏览器状态栏信息

  68. window.screen:屏幕信息

  69. screen.width:屏幕宽度

  70. screen.height:屏幕高度

  71. screen.availwidth:去掉任务栏宽度

  72. screen.avaiheight:去掉任务栏高度

  73. history:浏览历史记录

  74. location:地址栏对象

  75. navigator:用于获取用户浏览器信息

  76. appCodeName:浏览器代码名的字符串表示

  77. appName:返回浏览器的名称

  78. appVersion:返回浏览器的平台和版本信息

  79. platform:返回运行浏览器的操作系统平台

  80. userAgent:返回由客户机发送服务器的

  81. user-agent:头部的值

  82. Exception:异常 意外情况(try—catch)

  83. 获取元素对象方式:

  84. getElementByld:

  85. getElementsByName:

  86. gatElementsByTagName:

  87. getElementByClassName:

  88. onlick 当点击的时候

  89. onmouseover 鼠标移入

  90. onmouseout 鼠标移出

  91. onblur:失去焦点事件

  92. onkeydown:键盘按下事件(前)

  93. onkeypress:键盘按下事件(后)

  94. onload:当页面加载完成之后触发

  95. onchange;内容改变事件

  96. onkeydown;键盘按下事件(前)

  97. onkeyup;键盘松开事件

  98. onkeypress;键盘按下事件(后)

  99. onmouseout:鼠标移出事件

  100. onmouseover:鼠标移入事件

  101. onselect:内容被选中事件

  102. ondblclick:鼠标双击事件

  103. onfocus:获得焦点事件

  104. onkeyup:键盘松开事件

  105. 复选框操作 checked=" "

  106. checked 默认选中

  107. false 不选中

  108. true 选中

  109. typeof 查看数据类型

  110. object 对象

  111. number 数字

  112. string 字符串

  113. function 函数

  114. boolean 布尔值 true false

  115. undefined 未定义

  116. parseInt 整数

  117. parseFloat 浮点数/小数

  118. Number 数字

  119. hide 隐藏

  120. show 显示

  121. skin 皮肤

  122. code 代码

  123. even 事件

  124. array 数组

  125. integer 整数

  126. veruant 变量

  127. common 公用

  128. switch

  129. case 情况

  130. break 中断整个循环

  131. continue 跳出本次循环

  132. default 不履行/所有情况都不满足的时候走这个

  133. null 没有/空对象

  134. computed 计算后/生效的

  135. eval(JS可以读懂的代码:如‘1+1’->字符串) 这个代码会把()里面的字符串换成计算机读懂的代码来计算 + - * % 都行 (计算用的)

  136. return 返回

  137. write 输入

  138. find 查找

  139. interval 间隔

  140. setInterval(函数名,1000/) 间隔定时器

  141. clearInterval 清除间隔定时器

  142. Timeout 超时

  143. setTimeout 延迟定时器

  144. clearTimeout 清除延迟定时器

  145. obj.disabled 让按钮/变成不可使用

  146. true 不可用

  147. false 可用

  148. date 时间

  149. get 获取

  150. set 设置

  151. Fullyear 满年

  152. month 月 (从0月开始)

  153. day 日 获取需要 date

  154. week 星期 获取需要day (从0到6)

  155. hours 小时

  156. minutes 分钟

  157. seconds 秒

  158. single 一个/一倍

  159. dubble 两个/两倍

  160. triple 三个/三倍

  161. arguments 函数传参-实参的集合

  162. arguments.length 函数传参-实参的长度

  163. arr.push() 向数组最后添加一项

  164. arr.unshift() 向数组前面添加一项

  165. arr.pop()删除数组最后一位.

  166. arr.shift() 删除数组第一位

  167. arr.splice(开始的位置,删除的个数,添加的东西1。。。)

  168. arr.join(’’) 变字符串 是中间的隔开东西 如- ,空格 等等。。。

  169. arr.concat(arr1,arr2,arr…要拼接的数组…); 数组拼接/合并数组

  170. arr.reverse() 反转/颠倒数组

  171. arr.sort() 数组排序 按照字符串比大小的方法来排序

  172. arr.sort(function(a1,a2){ return a1-a2 //从小到大 return a2-a1 //从大到小 }) a1 a2随便起 代表的是数组中随机的某两项

  173. str.charAt() 字符串里面的下标

  174. str.indexOf(‘’) 下字符串对应的下标数(相同的就取第一个)

  175. str.lastIndexOf(‘’)下字符串对应的下标数(相同的就取最后一个)

  176. str.substring (开始位置,结束位置)/(开始位置-不写结束位置默认就从开始位置到最后) 截取子串

  177. str.toUpperCase() 大写字母

  178. str.toLowerCase() 小写字母

  179. str.split(切割的方式 ‘-’ ‘’ '空格’等) 切割变成数组

  180. str.charCodeAt(‘a’) 输入字符查找对应的编码

  181. String.fromCharCode(编码) 输入编码查找对应的字符

  182. json.name=value; 添加

  183. delete json.name 删除

  184. token 括号

  185. try catch(e) 异常

  186. math.random() 求随机数

  187. parseInt(math.random()(m-n)+n) 求n-m之间随机的整数, 前包括后不包括

  188. math.abs() 求绝对值

  189. math.max(,,,) 求最大值

  190. math.min(,,,) 求最小值

  191. math.pow(n,m) 求n的m次方

  192. math.sqrt(a) 开方

  193. math.PI π

  194. math.ceil(12.3) 向上取整 13

  195. math.floor(12.3) 向下取整 12

  196. math.round(a) 四舍五入

  197. !important Css样式值后面加这个 权重最大

  198. navigator.userAgent UA 例子判断浏览器的类型

  199. navigator.language 语言

  200. navigator.platform 操作系统

  201. Sibling 兄弟

  202. next 下一个

  203. previous 上一个

  204. 获取元素/节点:

  205. (父级) obj.children 找:儿子/子级 子节点

  206. (子级) obj.parentNode 找:父亲/父级 父节点

  207. (同级) obj.nextElementSibling || obj.nextSibling 下一个同级/节点 (同级) obj.previousElementSibling || obj.prenviousSibling 上一个同级/节点

  208. (父级) obj.firstElementChild ||obj.firstChild 首节点

  209. (父级) obj.lastElementChild || obj.lastChild 尾节点

  210. 创建元素:

  211. document.createElement_x(‘标签名’) 创建元素

  212. 添加插入

  213. (父级) obj.appendChild(谁) 往元素里面最后添加一个

  214. 带剪切效果

  215. (父级) obj.insertBefore(把谁,加在谁的前面) 往元素里面添加一个

  216. 带剪切效果

  217. 删除元素:

  218. (父级) obj.removeChild(子级) 删除子级

  219. window.open() 打开

  220. window.close() 关闭

  221. a标签:target=""

  222. 不填 默认新页面打开

  223. _blank 新页面打开

  224. _self 本页面打开

  225. window.location 地址栏信息

  226. window.location.href 链接信息

  227. window.location.search 数据信息

  228. window.location.hash 锚点信息

  229. *了解就行 面试背住

  230. window.location.procotol 协议信息

  231. window.location.hostname 域名信息

  232. window.location.port 端口号信息

  233. window.location.pathname 路径信息

  234. back 返回

  235. forward 向前

  236. history 历史

  237. window.history.back 返回历史记录 退

  238. window.history.forward 返回历史记录 前

  239. alert() 弹

  240. confirm 询问提示框

  241. prompt 问答提示框

  242. console.log() 在F12中显示;

  243. document.write(*) 在页面中输入

  244. scroll 滚动 有兼容问题

  245. client 客户端/可视区

  246. offsetHeight/Width 物体盒子模型的宽高

  247. offsetTop/Bottom/方向 物体距上/下/左/右的距离

  248. offsetparent 定位父级

  249. window.onScroll 当滚动的时候 滚动事件

  250. window.onresize 当缩放的时候 缩放事件

  251. onfocus 当获取焦点的时候

  252. onblur 当失去焦点的时候

  253. obj.getAttribute(‘属性名’) 获取属性名对应的属性值

  254. obj.setAttribute(‘属性名’,‘属性值’) 设置属性

  255. obj.removeAttribute(‘属性名’) 删除属性

  256. event 事件

  257. onmousemove 鼠标移动事件

  258. onload 当图片加载完成时

  259. onerror 当图片加载失败时

  260. cancelBubble 取消冒泡

  261. onkeydown 当按键按下的时候

  262. onkeyup 当按键抬起的时候

  263. oEvent.keycode 键盘编码

  264. oncontextmenu 当按右键的时候

  265. return false 阻止浏览器右键菜单

  266. cache 缓存

  267. onmousedown 鼠标按下时

  268. onmouseup 鼠标抬起时

  269. onmousemove 鼠标移动事件

  270. obj.setCapture() 开始捕获

  271. obj.releaseCapture() 取消捕获

  272. obj.cloneNode() 克隆复制一个节点

  273. document/obj.addEventListener(‘不加on的事件名’,函数名,false) 添加事件绑定 兼容高级

  274. document/obj.attachEvent(‘加on的事件名’,函数名) 添加事件绑定 兼容IE系列

  275. document/obj.removeEventListener(‘不加on的事件名’,函数名,false) 解除事件绑定

  276. document/obj.detachEvent(‘加on的事件名’,函数名) 解除事件绑定

  277. onmouseenter 鼠标移入

  278. onmouseleave 鼠标移出

  279. onmousewheel 鼠标滚轮事件

  280. DOMMouseScroll 鼠标滚动事件

  281. oEvent.wheelDelta 非火狐 测试鼠标滚轮向上向下弹得数字

  282. oEvent.detail 火狐 测试鼠标滚轮向上向下弹得数字

  283. return false 阻止浏览器默认事件 但是在事件绑定中失效

  284. oEvent.preventDefoult 在事件绑定中用 阻止浏览器默认事件(如果单独用只兼容高级浏览器)

  285. oninput 当输入的时候 iE9- 没有此方法

  286. onpropertychange 当属性改变的时候 IE系列

  287. oEvent.srcElement 事件源 非火狐

  288. oEvent.target 事件源 高级浏览器

  289. duration 期间

  290. start 开始

  291. count 次数

  292. complete 完成

  293. var bFlag=false/ture 开关 自定义

  294. easing 速度类型:

  295. linear 匀速

  296. ease-in 加速

  297. ease-out 减速

  298. window.onload 页面加载完毕后执行(代码、资源)

  299. DOMReady 页面加载完毕后执行(代码)

  300. DOMContentLoaded DOM加载事件

  301. obj.onreadystatechange 监控事件(模拟DOM加载事件)

  302. readyState 加载状态

  303. document/obj.readyState 加载状态

  304. ondbclick 鼠标双击

  305. queryselector 新的获取元素方法

  306. window.location.reload 重新加载

  307. cookie

  308. expires 期限

  309. session 一个会话(浏览器打开和关闭)

  310. path 路径

  311. define 定义

  312. require 引用其他模块

  313. exports 导出模块

  314. module 批量导出模块,

  315. data-main 主要数据/初始化接口

  316. success 成功

  317. error 失败

  318. Request 请求

  319. ActiveX 浏览器插件

  320. XMLHttpRequest() ajax 创建/ 不兼容ie6-

  321. ActiveXObject(‘Microsoft.XMLHTTP’) 创建/(插件) ie系列

  322. oAjax.open()打开

  323. oAjax.setRequestHeader(‘content-type’, ‘application/x-www-form-urlencoded’);

  324. oAjax.send() 发送

  325. onreadystatechange 接收/当通信状态变化

  326. oAjax.abort() 使中止

  327. oAjax.readyState 是否完成/加载状态

  328. oAjax.status 是否成功

  329. response 回答/响应

  330. oAjax.responseText 返回结果

  331. JSON.parse() 可以把字符串json变成json 不过json要正规些 双引号

  332. JSON.stringify() json打印出来的方法

  333. encode 编码

  334. decode 解码

  335. Component 组件/元件

  336. encodeURIComponent(‘中文’) 中文转化成编码

  337. decodeURIComponent(‘编码’) 编码转化成中文

  338. str.replace 替换

  339. new RegExp() 正则表达式

  340. str.search() 跟indexOf一样 在正则用

  341. str.match 匹配

  342. 正则.test(你要校验的str) true 正确满足 false 不满足 用这个的时候一定配合行首和行尾

  343. 转译

  344. \d 数字 [0-9]

  345. \w 数字、英文、下划线 [0-9a-z]

  346. \s 空白字符 所有的空白字符

  347. . 代表任意字符

  348. \D 非数字 [^0-9]

  349. \W 非数字、英文、下划线 [^0-9a-z]

  350. \S 非空白字符

  351. \u4e00-\u9fa5 中文

  352. 量词

  353. {n} n个

  354. {n,m} n-m个

  355. {n,} 最少n个,最多随便

  356. {0,m} 最少随便 最多m个

  357. {1,} 就是 若干个

  358. {0,} 任意个 可以没有

  359. ? {0,1} 最少没有 最多1个

  360. \ 转译特殊字符

  361. | 或的意思

  362. i 忽略大小写

  363. g 全局匹配

  364. m 多行模式

  365. ^ 行首 如果在方括号里面是除了

  366. $ 行尾

  367. *jq

  368. hide 隐藏

  369. show 显示

  370. toggle 点击

  371. hover 移入

  372. fadeIn 淡入

  373. fadeOut 淡出

  374. animate 运动函数(move)

  375. slideDown 滑动从上往下出来

  376. slideUp 滑动从下往上隐藏

  377. eq(下标) 标签获取的下标

  378. li>a li下面的第一级a

  379. 伪类选择器:

  380. li:last li最后一个

  381. li:first li第一个

  382. li:eq(2) 第三个li

  383. obj:even 偶数

  384. obj:odd 奇数

  385. obj:has(“p/标签名”) 里面包含‘p’这个标签的就会选取

  386. obj:contains(“p/内容”) 内容有得‘p’ 就都会选取

  387. event/自己起行参名字.pageX X轴坐标

  388. event/自己起行参名字.pageY Y轴坐标

  389. offset().top 物体绝对的位置 ->getPos()函数

  390. offset().left 物体绝对的位置

  391. position().top 物体距定位父级距离 ->offsetTop

  392. position().left 物体距定位父级距离

  393. document.scrollTop 和原生一样

  394. document.scrollLeft 和原生一样

  395. .width/.height 物体本身的宽高

  396. innerHeight/Width 物体内部的宽高 包括padding 不包括边框

  397. outerHeight/Width 物体盒子模型宽高

  398. 父级.append(子级) 在父级内的后部追加

  399. 父级.prepend(子级) 在父级内的前面追加

  400. 子级.appendTo(父级) 在父级后部追加

  401. 子级.prependTo(父级) 在父级前部追加

  402. obj1.after(obj2) 把2放在1的后面

  403. obj1.before(obj2) 把2放在1的前面

  404. bind() 事件绑定

  405. unbind() 事件解绑

  406. live() 事件委托

  407. die() 解除事件委托

  408. **以上四种不推荐 因为原理还是昂 所以推荐on

  409. obj.on() 可以事件绑定/委托

  410. each 循环

  411. $.trim() 去除首尾空格

  412. extend() 延伸

  413. height() 就是宽度

  414. innerHeight 包括padding、不包括边框

  415. outerHeight 盒子模型的

  416. offset().left -> getPos()

  417. position().left -> offsetLeft()

  418. scrollTop() -> scrollTop

  419. eve.pageX/Y 坐标

  420. maxlength 表单元素最大长度 属性

  421. $.fn.函数名=function(){} 建立jq封装函数

  422. $.fn.extend({函数名1:function(){},函数名2:function(){},…})

  423. 汉字:[0x4e00,0x9fa5](或十进制[19968,40869])

  424. 数字:[0x30,0x39](或十进制[48, 57])

  425. 小写字母:[0x61,0x7a](或十进制[97, 122])

  426. 大写字母:[0x41,0x5a](或十进制[65, 90])

  427. parent() 父级

  428. offsetParent() 定位父级

  429. parents() 所有父级 括号里面可以筛选 比如放class名字或…

  430. str/arr.slice(开始位置,结束位置) 切 从开始到结束 如果只有开始 就从开始到最后。 前包后不包

  431. prototype 原型

  432. form表单中 submit 提交 reset 重置

  433. xxx instanceOf xxx 检测一个对象属于某个类

  434. xxx.constructor==xxx 看构造函数 双等是判断 直接父级属不属于xxx 一个等号是赋值让直接父级等于xxx

  435. fn.call(this的指向,参数一,参数二,…) 改变this的指向 fn中的this=

  436. fn.apply(this的指向,[参数一,参数二,…]) 改变this的指向 fn中的this=

  437. init 开始

  438. localStorage 本地存储

  439. 一般的规范

  440. localStorage.name=value 存

  441. localStorage.name 取

  442. delete localStorage.name 删除一条

  443. localStorage.clear() 删除全部

  444. 规范的存取

  445. localStorage.setItem(name,value)

  446. localStorage.getItem(name)

  447. localStorage.removeItem(name)

  448. sessionStorage 临时存储 和localStorage一样用法

  449. include() 包含

  450. template.defaults.openTag=’’; 自定义模板开始样子

  451. template.defaults.closeTag=’’; 自定义模板结束样子

  452. template.config(‘openTag’,’’)

  453. template.config(‘closeTag’,’’)

  454. template.config(‘escape’,true/false) true不默认转译 false默认转译

  455. m model 模型

  456. v view 视图

  457. c controller 控制器

  458. scope 范围 作用域

  459. then 然后

  460. model模型

  461. bind绑定

  462. ng-app=""; 引用其他模块

  463. ng-model="" 数据从哪来

  464. ng-bind="" 或 model 或 {{xxx}} 数据到哪去

  465. ng-init 初始化

  466. ng-repeat 循环

  467. angular.module(‘名字’,[依赖模块).controller(‘名字’,function(依赖项){})

  468. $scope

  469. $http

  470. $interval

  471. $timeout

  472. ` 反单引号 包住字符串 拼接是这样 ${}

  473. |currency:"" 货币

  474. date:"" 时间戳转化处理

  475. route 路由/状态

  476. filter 过滤器

  477. directive 指令

  478. restrict 类型 E:‘element’ C:‘class’ M:‘comment’ A:‘attribute’

  479. service 依赖

  480. oDate.toString() 获取正常时间

  481. creator.ionic.io 做手机端的框架网站不错

  482. ng-show true false 显示 隐藏

  483. ng-hide true false 隐藏 显示

  484. ng-clack

  485. comment 注释

  486. bundle 打包

  487. transclude 嵌入

  488. params 参数

  489. provider 提供者

  490. .config() 配置

  491. s c o p e . scope. watch(数据,fn)

  492. template 模板

  493. templateUrl:‘模板地址’ 模板

  494. $ bower install * 下载东西用的

  495. ReactDOM.render(什么东西,渲染到哪)

  496. type=‘text/babel’

  497. state 状态

  498. extends 延伸 继承

  499. constructor 创建

  500. super 超类/父类

  501. component 组件

  502. React.Component

  503. this.props.属性

  504. 组件中 ref和正常的ID类似

  505. vue

  506. el:‘id’

  507. data:{}

  508. $index

  509. capitalize 首字母大写

  510. uppercase 变大写字母

  511. lowercase 变小写字母

  512. ev.stoppropagation() 阻止冒泡

  513. ev.preventDefault() 阻止默认事件 angular

  514. angular.bind(this的指向,要改变指向的函数名,参数)

  515. bootstrap 开启应用模式

  516. copy(复制谁,复制到哪里) 复制/克隆

  517. equals(a,b) 比较

  518. forEach 循环

  519. fromJson 字符串json转化成json

  520. extend(obj,obj1,obj2。。。) 扩展

  521. 标签里面属性 transition=“名字” 过渡 动画

  522. .名字-

  523. transition 过渡

  524. transition:时间 让谁变/all ease;

  525. enter 进来

  526. leave 出去

  527. route 路由/状态

  528. watch 监控

  529. props 存东西 可在替换模板身上用

  530. Router-view 状态视图

  531. v-link="{path:名字

  532. animation:8s test/名字 linear infinite/数值/次数;

  533. background-size 背景尺寸

  534. contain 以最合适的状态展示 可能会留白

  535. cover 尽可能填满

  536. nth-child(下标 注意:从1开始) 注意:项目不用这个。禁用

  537. nth-of-type(下标 注意:从1开始) 注意:项目不用这个。禁用

  538. background-origin: 背景从哪里开始

  539. content-box

  540. border-box

  541. padding-box

  542. background-clip: 背景从哪里开切

  543. content-box

  544. border-box

  545. padding-box

  546. text 注意:这个background-clip前面要加上webkit-

发布了54 篇原创文章 · 获赞 86 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/marendu/article/details/105042316