Dynamic Routing, Dynamic Sidebar Menu

Dynamically load the sidebar menu Data case: returned by the background json data, please click to jump to the last view of the article There are three ways to do this, each with its own drawbacks The first (not recommended) Register all routes and dynamically load according to the dynamic menu Disadvantages: Insecure, users can change the b ...

Posted by bing_crosby on Sat, 03 Dec 2022 15:57:51 +0300

Vue uses Google Map

1. Prerequisites for use 1. Google developer account 2. The account should be bound with a debit card for subsequent api charges (it seems that mainland debit cards are not supported) 2. Add new projects and add referenced API s 3. Create a credential in the credential and get the key of the api Fourth, vue installation dependencie ...

Posted by cdm2 on Sat, 22 Oct 2022 05:27:24 +0300

The global scope and this point to

[Global scope] Objects that can be accessed anywhere in the code have global scope (that is, variables defined in the global scope can be used anywhere.) The global scope is created when the page is opened and destroyed when the page is closed. [Case 1: All undefined direct assignment variables are automatically declared as having global scop ...

Posted by khushbush on Thu, 13 Oct 2022 00:31:18 +0300

Summary of the vue stage (vue basics)

Table of contents 1. What is vue 2. What is mvc and mvvm 3. The difference between framework and library 4. Interpolation expressions 5. The vue instruction prevents the page from flickering 6. The difference between v-html and v-text of vue instructions 7.vue directive - property binding and shorthand 8.vue instruction - event bindin ...

Posted by nublet on Sun, 25 Sep 2022 21:22:35 +0300

jQuery password verification and in-depth understanding of JSONP [front-end jQuery framework]

jQuery Password Validation The jQuery Password Authentication Plugin extends the jQuery Authentication Plugin and provides two components: Function for evaluating password-related factors: For example, mix of upper and lower case letters, mix of characters (numbers, special characters), length, and similarity to username (optional). User-def ...

Posted by dr_overload on Wed, 21 Sep 2022 21:15:10 +0300

Handwritten a mini version of the React state management tool

Handwritten a mini version of the React state management toolCurrently in React, there are many and various state management tools, such as:React ReduxMobxHoxEach state management tool has different API s and usage methods, and has a certain learning cost, and these state management tools also have a certain degree of complexity, and they are n ...

Posted by jeff8j on Tue, 20 Sep 2022 21:35:44 +0300

TS decorators, Mixins, modules and namespaces

Table of contents decorator Definition of a decorator class decorator Mixins Modules and Namespaces Modules in TS Namespaces in TS decorator The main role of a decorator is to extend some new behavior to an existing method or class, rather than modifying it directly. After ES2015 enters Class, when we need to share or extend some met ...

Posted by axiom82 on Tue, 13 Sep 2022 21:04:14 +0300

Advanced front-end two-sided interview questions

If a constructor bind s an object, will the instance created by this constructor inherit the properties of the object? Why? No inheritance, because according to the four rules of this binding, the priority of the new binding is higher than the bind display binding. When a Constructor call is made through new, a new object is created, which repl ...

Posted by Shaudh on Mon, 12 Sep 2022 21:19:06 +0300

web final assignment design web page - Kaiping Diaolou (20 pages) HTML+CSS+JavaScript

πŸ‘¨β€πŸŽ“Student HTML static web page basic level production πŸ‘©β€πŸŽ“, the page layout is clean and concise. Using HTML+CSS page layout design, web college student web page design homework source code, this is a good tourism web page production, with smart pictures, neat layout, rich content, clear theme, very suitable for beginners to learn a ...

Posted by l_evans on Sat, 10 Sep 2022 21:28:16 +0300

Notes on the fourth day of basic JavaScript

JavaScript Basics - day 4 notes Understand the meaning of encapsulation, be able to realize logical encapsulation through the declaration of functions, know the characteristics of object data types, and realize simple calculation functions in combination with mathematical objects. Understand the characteristics of function encapsulationM ...

Posted by rem on Thu, 08 Sep 2022 21:32:14 +0300