Front End Summary, Foundation Paper, JS(3) arguments, callee, call, apply, bind and function encapsulation and constructor

Front end summary series Front End Summary, Foundation Paper and CSS (1) Layout Front-end Summary, Foundation Chapter, CSS (2) Vision Front End Summary, Foundation Chapter and CSS (3) Supplement Front End Summary, Foundation Chapter, JS (1) Prototype, Prototype Chain, Constructor and String Front End Summary, Foundation Chapter, JS (2) Deep Co ...

Posted by binumathew on Mon, 17 Dec 2018 17:12:04 -0800

Open source widget - swagger API Access Code Generator (js/typescript)

Nowadays, front-end and back-end separation is popular. Back-end usually uses swagger to generate api documents and provide them to front-end colleagues for invocation. Generally, front-end is to view this document and write invocation code according to the document description. In fact, swagger has provided enough descriptive information, we c ...

Posted by badapple on Sat, 15 Dec 2018 06:24:03 -0800

js implements ctrl+v pasting and uploading pictures (compatible with chrome, firefox, ie11)

Rich text editor, which has a very convenient function, copy a picture and paste it into the text box, the picture was uploaded, then how to achieve this convenient function? Note: Pay more attention to the red font part!!! Principle analysisExtraction operation: copy => paste => upload In this process, what we need to do is: listen ...

Posted by prudens on Mon, 10 Dec 2018 23:21:06 -0800