Basic part of js-BOM
js--BOM
@ (js basic part)The meaning of BOM: BOM (Browser Object Document) is browser object model.
- BOM provides content-independent objects that interact with browser windows.
Because BOM is mainly used to manage the communication between windows, its core object is window.
- BOM consists of a series of related objects, and each object provi ...
Added by tlenker09 on Mon, 15 Jul 2019 22:01:19 +0300
The javascript feature: encapsulation
Encapsulation Definition: Encapsulation is the abstraction of data and data
The operations are encapsulated so that the data is protected internally so that the rest of the program can be authorized (by defining functions internally, such as get, set for java)
Method) to operate on the data
Here's the most understandable encapsulati ...
Added by Masca on Mon, 15 Jul 2019 20:31:44 +0300
vue2.0-Component-Document Understanding Notes v1.0
assembly
Components can extend HTML elements to encapsulate reusable code
At a higher level, components are custom elements for which the Vue.js compiler adds special functionality
In some cases, components can also be in the form of native HTML elements, extending with is features.
Using components
Register ...
Added by anthonyv on Mon, 15 Jul 2019 03:00:38 +0300
Vue 2.0 makes list components to realize pagination, search, batch operation, etc.
This article only explains how to use Vue to create a list component that implements paging, searching, and batch operations, so only the code and instructions for this widget are provided, and no other code or configuration is provided.
github address: https://github.com/jothy1023/vue-component
Technology or framework used
...
Added by pingu on Mon, 15 Jul 2019 02:06:44 +0300
Css text ellipsis style (single/multiple lines)
Copyright Statement: This article is wintersmilesb101 - (Personal Independent Blog -) http://wintersmilesb101.online Welcome to visit) The blogger reprints the article. Original address.
Design sketch
The modern codes of the above effects are as follows:
<!DOCTYPE html>
<html>
<head>
<met ...
Added by dross613 on Mon, 15 Jul 2019 01:06:41 +0300
Correct implementation of js code for scalable menu
js implementation of the scalable menu seen on imooc today: http://www.imooc.com/video/93
When I practice, I find that this code is problematic. Error code first
<ul>
<li style="background-color: red; width: 100px">First</li>
<li style="background-color: red; width: 100px">The second</li>
<li styl ...
Added by niekos on Mon, 15 Jul 2019 00:07:54 +0300
Vue.js--Custom Instructions
http://www.jianshu.com/p/c2bef47439ab
Vue.js allows you to register custom instructions, essentially allowing you to teach Vue some new tricks: how to map changes in data to the behavior of the DOM.You can register a global custom instruction by passing in an instruction ID and a definition object using the Vue.directive(id, definiti ...
Added by waylon999 on Sun, 14 Jul 2019 19:42:30 +0300
Multithread Matrix Multiplication
Job Requirements: Multithread programming is used to realize matrix multiplication under Windows and Linux respectively.
Analysis: Linux multi-threading and Windows multi-threading implementation principle is basically the same, but the API provided by the system is different. In fact, if the API provided by Windows is not applicable under ...
Added by wiccanwoman1103 on Sun, 14 Jul 2019 00:50:20 +0300
vuejs learning notes
Each Vue.js application is started by creating a root instance of Vue through the constructor Vue:
var vm = new Vue({
// option
})
Each Vue instance proxies all of its data objects
var data = { a: 1 }
var vm = new Vue({
data: data
})
vm.a === data.a // -> true
// Setting properties also affects raw data
vm.a = 2
data ...
Added by 00tank on Sat, 13 Jul 2019 23:10:03 +0300
StrangeIoc MVCS Game Framework
StrangeIoC Framework is an Extension of MVC Framework
Using a MVCS framework, it has been well applied in Unity3d
The following is a frame diagram of StrangeIoC:
[ROOT module]
Open the whole framework boot module
[MVCS Context Module]
To reduce the coupling of the whole framework, dependency bindings can be made between modules.
It can ...
Added by rockinaway on Sat, 13 Jul 2019 20:57:54 +0300