vue basic usage
1. vue instruction
(0). Three methods of Vue text rendering {}}, v-text and v-html
{{}} output elements as plain textv-html v-html will parse the elements as HTML tags and output themv-text v-text outputs the element as plain text
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vue ...
Posted by frans-jan on Sun, 10 Oct 2021 16:07:36 -0700
10000 words, Ashan's learning note "front end Basics" beginner's Guide (recommended Collection)
🍅 Author: Ashan
🍅 About the author: the little sister of the post-95 front end, the contracted author of blue bridge, and the public name author of "information technology think tank"
🍅 Exclusive benefits for fans: knowledge system, interview question bank, technical assistance, resume template. Official account number at th ...
Posted by vfwood on Sun, 10 Oct 2021 15:34:24 -0700
Summary of basic knowledge points of Symbol type added in ES6
Symbol type
Symbol is a new simple data type in ES6. The Symbol is the original value, and the instance of the Symbol is unique and immutable. The purpose of symbols is to ensure that object attributes use unique identifiers and there is no risk of attribute conflicts. Symbols are used to create unique tokens that can be used as ...
Posted by louie35 on Sun, 10 Oct 2021 10:40:55 -0700
[Algorithm-LeetCode] 110.Balanced Binary Tree (Recursive)
110.Balanced Binary Tree-Force Button (LeetCode)
Release: October 10, 2021 21:30:53
Problem description and examples
Given a binary tree, determine whether it is a highly balanced binary tree. In this topic, a height-balanced binary tree is defined as: The absolute difference between the left and right subtrees of each node of a binary tr ...
Posted by lox on Sun, 10 Oct 2021 10:19:23 -0700
8 super detailed Web cross domain solutions
1, What is cross domain
When a page or script under the domain name a.qq.com attempts to request resources under the domain name b.qq.com, it is a typical cross domain behavior. The definition of cross domain can be divided into two types: broad cross domain and narrow cross domain.
(1) Generalized cross domain
Generalized cross doma ...
Posted by inosent1 on Sun, 10 Oct 2021 07:33:18 -0700
Implementation of offset, style and modal box in JavaScript
Learning objectives:
1. Understand the common attributes, functions and usage of offset series
2. The difference between offset and style
3. offset usage case
4. The modal box is implemented independently using offset
1. offs ...
Posted by pedro84 on Sun, 10 Oct 2021 06:34:39 -0700
Analysis of Vue responsive principle source code
Let's look at the picture first to understand the general process and what to do
initialization
During the initialization of new Vue, the data props and data of our components will be initialized. Since this article mainly introduces the response type, I won't explain it too much. Let's take a look at the source code
Source address: Src / ...
Posted by Yegg on Sat, 09 Oct 2021 23:16:44 -0700
Mobile terminal and PC terminal web page special effects
Mobile web effects
Touch Event
The mobile terminal browser has good compatibility. It does not need to consider the compatibility of previous JS. You can safely use the native JS writing effect, but the mobile terminal also has its own unique features. For example, touch (also known as touch event), Android and IOS have both.
The touch ...
Posted by pcoder on Sat, 09 Oct 2021 22:30:23 -0700
Miss childhood, push box games (vue version)
preface
I haven't written much recently. It's been a long time. It has been more than one year and nearly two years since I started learning. Compared with the beginning, my self feeling has not changed much, but
The motivation for learning seems to be absent from time to time.
It's like having no goal. I don't know what I should learn and w ...
Posted by greywire on Sat, 09 Oct 2021 22:09:47 -0700
Recommended collection! Async, await related knowledge summary, suitable for children's shoes with good js Foundation
I knew the names of async and awiat a long time ago, but I've always been lukewarm about this thing; Recently, when I was doing koa, a lot of async and await bothered me a little; I'll spend half a day alone to solve the whole async and await Some children's shoes may know that they are extended based on promise of es6; Before explaining, let's ...
Posted by OMorchoe on Fri, 08 Oct 2021 18:20:15 -0700