[JavaScript Learning] DOM Operating Technology
Dynamic script
Definition: Page loading does not exist, but at some point in the future by modifying the DOM dynamically added scripts.
There are two ways to create dynamic scripts:
Insert external files
Insert JavaScript code directly
Insert external files
var script = document.createElement("script");
script.type = "text/javascipt";
...
Posted by bob2006 on Fri, 17 May 2019 20:56:34 +0200
Go Gin Source Learning
radix tree
This time we're learning about routing in Gin. In learning about source code, one of the things we see about Gin's routing is its feature.However, the use of cardinality trees in the underlying data also provides performance protection.Because this part of routing is relatively independent and logical, it needs to be learned independ ...
Posted by dannyz on Fri, 17 May 2019 03:01:50 +0200
Event monitoring and commissioning
1. Event monitoring
Event monitoring can be divided into three stages: capture stage, target stage and bubbling stage.
IE8 and its predecessors did not support this event mechanism, and IE9 did not support the W3C specification until later.
W3C standard
Syntax:
element.addEventListener(event, function, useCapture)
event ...
Posted by bftwofreak on Wed, 15 May 2019 00:26:27 +0200
Open exe in the web page
Can you open the local exe file on the web page?
Simon said: Yes.
The methods are as follows:
1. Define a private protocol that points to the local exe 2. Use this private protocol as a URL on the web page and click on it to open the exe. 3. The URL can also contain parameters that are passed to the exe
1 ...
Posted by RussW on Tue, 14 May 2019 12:08:09 +0200
Realization of 2048 mini-games with JS
Preface:
What I have been doing for a year is back-end stuff. I haven't written the front-end code. I forgot about it. I used jQuery before, but I can still do something good. Think of picking up a little, or waste the cultivation of the master.
I've been reading blogs, but I don't have anything of my own. this has to change.
why not start now? ...
Posted by shaitan on Sun, 12 May 2019 10:16:18 +0200
Hand in Hand to Learn VUE: A VUE Profile and Common Internal Instructions
Video tutorial
Since you can't insert the video, please move on. https://www.henrongyi.top
What is VUE?
VUE is a progressive framework for building user interfaces. VUE is not really a mvvm framework, but rather a data-driven framework. So before we learn VUE, whether you are a traditional JS developer or a back-end developer, we need to transf ...
Posted by kiwibrit on Thu, 09 May 2019 11:27:03 +0200