Learn Dart language quickly

Dart language 1. In Dart, everything is an Object, and all objects are instances of class. Even numeric types, methods and even null are objects, and all objects inherit from Object 2. Although Dart is a strongly typed language, variable types are optional because Dart can automatically infer variable types 3.Dart supports templates. List , re ...

Posted by drfate on Thu, 05 May 2022 15:10:29 +0300

Vue express day10 -- background management project

Children's shoes requiring project drawings, private letter and message mailbox umall background management 1. Create project vue init webpack umall 2. Empty work 1. assets empty 2. components empty 3 ,router/index.js delete helloword related import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) export default new Route ...

Posted by WakeAngel on Thu, 05 May 2022 08:40:43 +0300

AST abstract syntax tree

AST abstract syntax tree why The purpose of mainstream project plug-ins: javascript translation, code compression, css preprocessing, eslint, prettier, etc. are all based on AST. what according to the grammar of a programming language, each AST node corresponds to an item of a source code. (according to the syntax of the programming language, e ...

Posted by Bojan86 on Thu, 05 May 2022 08:24:22 +0300

Zero basis Vue JS learning notes advanced level

Note sorting source: station B up master dark horse programmer Station B dark horse programmer quick start vue front end Suitable for beginners Vue js, This article is advanced The basic part includes the Vue foundation and local application links in the course This paper is an advanced chapter, including network application and comprehensiv ...

Posted by gregtel on Thu, 05 May 2022 04:57:52 +0300

Webpack's brother Grunt

☀️ About the author: Hello, everyone. I'm talking yyds 🐋 Personal home page: CSDN blog yyds with words and deeds 🎁 Series column: [front end] Grunt 1. Introduction to grunt 1.1 INTRODUCTION Grunt gulp Webpack is the most commonly used project packaging tool at the front end Chinese homepage: http://www.gruntjs.net/It is a s ...

Posted by Ruzzas on Thu, 05 May 2022 03:41:22 +0300

H5 realizes electronic signature based on canvas and generates PDF documents

preface Generally speaking, electronic signature is to load electronic signature on electronic documents through technical means. Its function is similar to handwritten signature or official seal on paper contract. Although the legitimacy of electronic signature has been questioned for many years, it is widely used in enterprise workflow appro ...

Posted by scrypted on Wed, 04 May 2022 16:24:44 +0300

js array method collection

1. Manipulate items in an array 1,push&pop let arr = [1,2,3,4,5] arr.push(6) //arr becomes [1,2,3,4,5,6] and the return value is 6 arr.pop() //arr becomes [1,2,3,4,5] and the return value is 6 2,shift&unshift let arr = [1,2,3,4,5] arr.shift() //arr becomes [2,3,4,5] and the return value is 1 arr.unshift(8) //arr ...

Posted by DarkHavn on Wed, 04 May 2022 14:47:25 +0300

Detailed description of JavaScript operators

Detailed description of JavaScript operators An operator is a symbol that performs a series of operations. Arithmetic operator Arithmetic operators are used to add, subtract, multiply, divide and other operations in programs. operatordescribe+plus operator -minus operator *multiply operator /Division operator%Modulo operator++Self increasin ...

Posted by kritro on Wed, 04 May 2022 13:36:20 +0300

JavaScript foundation -- Math object of built-in object

Math object is not a constructor and does not need new. It has properties and methods of mathematical constants and functions. Math related operations (absolute value, rounding, maximum value, etc.) can use members in math. 1. Common methods of math objects 1.1 Max.floor() Max.floor() floor represents the floor, so this method is to round do ...

Posted by Panthers on Wed, 04 May 2022 11:19:09 +0300

Set the fixed aspect ratio of the picture

If you are thinking about how to set the height in proportion to the width of the container, this should help you.Recently, there is a demand for responsive design. When zooming the page, keep the overall structure unchanged and zoom according to the original scale, as shown in the following figure: 4 pictures are displayed in each line.This de ...

Posted by lostcarpark on Wed, 04 May 2022 09:55:35 +0300