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

jQuery gets and sets the width and height of an element

In this section, we will learn how to get or set the width and height of elements through the methods provided in jQuery. The methods used to obtain and set the width and height in jQuery are as follows: methoddescribewidth()Sets or returns the width of the elementheight()Sets or returns the height of the elementinnerWidth()Returns the width ...

Posted by j4ymf on Sun, 10 Oct 2021 06:54:28 -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

Implementation principle of thread safe try catch exception

try{               // Exceptions may be thrown   throw }catch(){         // Catch exception }finally{           No matter whether an exception is thrown or caught, it will come here, except return. } In c, goto cannot cross functions, while setj ...

Posted by Daguse on Sun, 10 Oct 2021 05:53:19 -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

Take you ten minutes to learn about BFC (Duyi education notes)

Introduction to BFC It is a separate rendering area that specifies the layout of the regular flow block box in this area Create BFC BFC rendering area: this area is created by an HTML element, and the following elements will create BFC areas inside it: Root element Floating and absolute positioning elements (including fixed positionin ...

Posted by ShaunO on Sat, 09 Oct 2021 20:04:22 -0700

Basic JavaWeb Theory

Basic Theory Software Framework Classification 1.B/S: browser/server, thin client 2.C/S: client/server, fat client Http Protocol (Hypertext Transfer Protocol) Agreements: Rules to be complied with by both parties Hypertext transfer protocol: Hypertext transfer protocol Why is it important: The protocol used by the B/S architecture: Char ...

Posted by nrg_alpha on Sat, 09 Oct 2021 11:53:45 -0700

Friends' favorite String!!!

catalogue Characteristics of string: Create string by: String comparison Common methods to get from String: String interception method: The common methods related to conversion in String are: String and int int to String String to int: Characteristics of string: The contents of the string are never mutable. [key points]Because the ...

Posted by waiwai933 on Sat, 09 Oct 2021 02:20:54 -0700

Additions to es6 - 1

let keyword declares variable let and var are both used to declare variables but differ Features of let: 1. let cannot repeat declaration; var can repeat declaration 2. let will not be mounted under windows. var is mounted under windows as a property under Windows 3. let is a block-level scope. It does not affect variables in the global sc ...

Posted by freebsdntu on Fri, 08 Oct 2021 10:21:37 -0700

HTML of Web Design (with case, code and implementation pictures)

HTML 1, HTML structure 1.HTML file structure !DOCTYPE htmlhtml root taghead header label Meta: the tag provides meta information about the pageTitle: title body tag and web content are all in it <!-- html Project structure --> <!DOCTYPE html> <!-- statement html Tell the browser the version of html Ver ...

Posted by patrick99e99 on Wed, 06 Oct 2021 20:31:22 -0700