lq1990 / myFrontEnd

BOM, DOM, jQuery, NodeJS, Express, Ajax, Gulp, ES6, Webpack, Vue, Canvas, TS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Front-End

Review

1. Compatiblity.

2. addEventListener, attachEvent.

3. stopPropagation, cancelBubble.

4. onclick -> DOM0,

5. onload, onbeforeunload, onresize, onscroll, focus.

6. mouse-event: click, dblclick, mousedown, mouseup, mousemove, mouseenter, mouseleave, mouseover; 
	Properties: ClientX/Y, pageX/Y, screenX/Y, 

7. keyboard: keydown, keypress, keyup.

8. Packaging for Compatibility issues.

lib or Framework

lib or Framework description
bulma css framework
shouldjs assert lib
mocha lib for testing
istanbul & nyc coverage testing
mockjs generating random values
simplePagination.js pagination
Magnific-Popup popup

useful Syntax

.find(u => u.id == id);
.findIndex(u => u.id == id);

const fs = require("fs");
const path = require("path");
let filedata = fs.readFileSync(path.join(__dirname, '15_Iterator.js'), 'utf8');

Object.assign(obj1, obj2); // deep-copy obj

About

BOM, DOM, jQuery, NodeJS, Express, Ajax, Gulp, ES6, Webpack, Vue, Canvas, TS


Languages

Language:JavaScript 52.3%Language:CSS 29.5%Language:HTML 15.7%Language:TypeScript 1.5%Language:Vue 0.9%