Vue Part II: component based learning

In large-scale application development, the page can be divided into many parts. Often different pages have the same parts. For example, there may be the same head navigation. However, if each page is developed independently, it will undoubtedly increase the cost of our development. Therefore, in order to improve code reuse, we will split the r ...

Posted by Vball on Fri, 24 Dec 2021 12:40:56 +0100

About the screen, pagey, clienty, layery and offsety properties of mouse events

About the screen, pagey, clienty, layery and offsety properties of mouse events screenY The offset of the mouse relative to the upper left corner of the display screen pageY The offset of the mouse relative to the upper left corner of the page (its value is not affected by the scroll bar) This property is not supported under IE9 But you ...

Posted by jalapena on Fri, 24 Dec 2021 11:29:51 +0100

Web front end learning notes 11: JavaScript_ Notes_ Input and output_ Variable_ Data type_ Keywords_ Reserved word_ Operator_ Process control

JavaScript Foundation Day 01 1 - Programming Language 1.1 programming Programming: Is to let the computer use a programming language to write program code to solve a problem, and finally get the result. Computer program: It is a series of instructions executed by the computer, and all the programs are written in the language we mas ...

Posted by timcclayton on Fri, 24 Dec 2021 11:12:19 +0100

Five inheritance methods of javaScript

Portal Supplement: prototype, prototype object, object prototype, prototype chain Each constructor has a prototype prototype, which is just an object, so we often call it a prototype object. The role of prototype objects is to share Each instance object also has a property called__ proto__ Or [[prototype]], because it is on the object, it ...

Posted by jonnyw6969 on Fri, 24 Dec 2021 09:41:18 +0100

[dry goods sharing | suggestions collection] 2w word exploding liver detailed JavaScript object

Thank you for meeting. Hello, I'm ken Author: please call me ken Link: Please call me a ken home page link Source: CSDN The copyright belongs to the author. For commercial reprint, please contact the author for authorization, and for non-commercial reprint, please indicate the source. 🌊🌈 About Preface: Some of the contents and picture ...

Posted by phpQuestioner on Fri, 24 Dec 2021 08:20:12 +0100

js learning experience

js learning notes: 1, Data type: (1) Type conversion 1. Implicit conversion 1. Convert numeric + character type to character type console.log(12 + 'character');//string type, output: 12 characters console.log('12' + 1);//Output 121 2. In case of - * / etc., it is generally converted to numerical type console.log('12' - 1);//number t ...

Posted by bastien on Fri, 24 Dec 2021 08:01:57 +0100

25-basic JavaScript ⑤ (built-in objects, simple data types and complex data types)

1. Built in objects 1.1 built in objects There are three kinds of objects in JavaScript: custom object, built-in object and browser object The first two objects are the basic content of JS and belong to ECMAScript; The third browser object is unique to JS. JS API explains that built-in objects refer to some objects of JS language. These ...

Posted by mightymaster on Fri, 24 Dec 2021 04:56:58 +0100

Realization of message board effect

Idea: Message function: click message - > get nickname and message content - > judge whether the input is empty - > message is successful if there is input- >Leave a message again after 10s         1. Get element {function $(selector) {return document.querySelector(selector)}         ...

Posted by jh21236 on Fri, 24 Dec 2021 04:15:15 +0100

Cocos Creator-4. Listen, launch event, node system event, global system event

preface Next, learn to monitor and launch events, node system events, and so on!! Recommended as usual Official website 1, Introduction Monitor and launch events Event processing is completed in the node (cc.Node). For components, you can register and listen to events by accessing the node this.node. Listening events can be registered ...

Posted by chrischen on Fri, 24 Dec 2021 02:24:59 +0100

JavaScript ES(6-11) basic syntax series

New data type symbol S6 introduces a new raw data type Symbol, which represents a unique value. The Symbol value is generated by the Symbol function. That is to say, there are two types of attribute names of objects. One is the original string, and the other is the new Symbol type. All attribute names that belong to Symbol type are unique, wh ...

Posted by leon77 on Fri, 24 Dec 2021 01:03:31 +0100