2018年11月25日

API

摘要: 封装好的函数,叫做 API(Application Programming Interface),即应用程序编程接口 API 函数以C语言的形式向外暴露,可以通过C语言直接调用。 除了函数,Windows 还预先定义了很多数据类型(使用C语言的 typedef 关键字定义)。广义上来说,这些数据类型 阅读全文

posted @ 2018-11-25 16:03 渐心微凉 阅读(103) 评论(0) 推荐(0) 编辑

2018年11月19日

Event Flow

摘要: 事件的流动通常会经历这么三个阶段: 捕获阶段(capture phase) The event object propagate through the target's ancestors from the defaultView to the target's parent. 事件对象在事件目标 阅读全文

posted @ 2018-11-19 08:57 渐心微凉 阅读(79) 评论(0) 推荐(0) 编辑

2018年11月11日

for的衍生

摘要: for-in for-in循环实际是为循环”enumerable“对象而设计的: var obj = {a:1, b:2, c:3}; for (var prop in obj) { console.log("obj." + prop + " = " + obj[prop]);} // 输出:// 阅读全文

posted @ 2018-11-11 22:49 渐心微凉 阅读(69) 评论(0) 推荐(0) 编辑

function函数

摘要: 函数定义 函数是由这样的方式进行声明的:关键字 function、函数名、一组参数,以及置于括号中的待执行代码。 函数的构造语法有这三种: Js代码 1.function functionName(arg0, arg1, ... argN) { statements }//function语句 2. 阅读全文

posted @ 2018-11-11 22:37 渐心微凉 阅读(121) 评论(0) 推荐(0) 编辑

2018年11月4日

计算机程序设计语言历史

摘要: 计算机程序设计语言,通常简称为编程语言,是一组用来定义计算机程序的语法规则。它是一种被标准化的交流技巧,用来向计算机发出指令。一种计算机语言让程序员能够准确地定义计算机所需要使用的数据,并精确地定义在不同情况下所应当采取的行动。 在过去的几十年间,大量的程序设计语言被发明、被取代、被修改或组合在一起 阅读全文

posted @ 2018-11-04 22:59 渐心微凉 阅读(352) 评论(0) 推荐(0) 编辑

2018年10月28日

覆盖

摘要: 覆盖 2017 覆盖 阅读全文

posted @ 2018-10-28 18:24 渐心微凉 阅读(74) 评论(0) 推荐(0) 编辑

HTML Document

摘要: HTML Document 类 Visual Basic(声明) Public NotInheritable Class HtmlDocument Visual Basic(声明) Visual Basic(声明) Visual Basic(用法) Dim instance As HtmlDocum 阅读全文

posted @ 2018-10-28 16:22 渐心微凉 阅读(248) 评论(0) 推荐(0) 编辑

正则

摘要: 用户名正则 //用户名正则,4到16位(字母,数字,下划线,减号) var uPattern = /^[a-zA-Z0-9_-]{4,16}$/; //输出 true console.log(uPattern.test("iFat3")); 密码正则 //密码强度正则,最少6位,包括至少1个大写字母 阅读全文

posted @ 2018-10-28 16:15 渐心微凉 阅读(78) 评论(0) 推荐(0) 编辑

JavaScript DOM BOM

摘要: DOM(Document Object Model) D: Document 文档 一份文档就是一棵节点树,每个节点都是一个对象O:Object 对象 JavaScript语言里对象可以分为三种类型: (1)用户定义的对象(user-defined object) 有程序员自己创建的对象 (2)内建 阅读全文

posted @ 2018-10-28 16:02 渐心微凉 阅读(60) 评论(0) 推荐(0) 编辑

2018年10月26日

盒子作业

摘要: <!DOCTYPE html> <html> <head> <title>盒子作业</title> <style type="text/css"> .wrapper{ display: grid; grid-template-columns: 100px 100px 100px; grid-temp 阅读全文

posted @ 2018-10-26 11:35 渐心微凉 阅读(113) 评论(0) 推荐(0) 编辑

导航