Page text annotation

Effect achieved:      There are generally two ways to realize the annotation function: 1, The back end will store the data in two parts: ① plain text in the article area ② string containing HTML structure When the front end requests data, it will be directly returned to the front end, and the front end will display it directly. ...

Posted by Bad HAL 9000 on Tue, 28 Dec 2021 06:19:43 +0100

Data sharing between Vue components

Introduction: This article will talk about an important problem in Vue, that is, how to share data between components? As we said before, each component is independent of each other and can be used by importing components and registering components. How can we transfer data between components? 1. Relationship between components The relat ...

Posted by anauj0101 on Tue, 28 Dec 2021 04:07:34 +0100

tinymce basic user manual

catalogue 1. Start 2. Quick use 3. Common configuration selectorlanguagelanguage_urlheightreadonlypluginstoolbarmenumenubarplaceholderresize 4. Advanced functions Picture uploadFile uploadCustom plug-ins 5. Typesetting 6.tinymce-vue Quick useComponent configuration item 7. Custom use in vue (recommended) 1. Start Official website docum ...

Posted by hi-liter on Tue, 28 Dec 2021 03:37:02 +0100

Day13 - DOM operation of JavaScript, several widths and heights of the page, return to the top and bottom, and operation knowledge related to labels

1, DOM Foundation DOM: document object model, which is used to manipulate page labels and css DOM is actually part of BOM Basic operations of DOM: console.log(document) ; //Print entire page console.log(document.documentElement) ; //Print html console.log(document.body) ; //Print body content console.log(document.head) ; //Pr ...

Posted by MidOhioIT on Tue, 28 Dec 2021 03:19:58 +0100

js3d quadrilateral pyramid

The leader asked to put a 3d pyramid graph in the page overview center to display the data of five levels. He showed me the following figure, which looks like this: However, I found that the problem was not so simple after turning over the ecarts. Ecarts only had a 2d funnel chart, which was obviously different from the requirements of the le ...

Posted by prismngp on Mon, 27 Dec 2021 23:06:41 +0100

Ajax - native JS implements Ajax requests

1, The core of Ajax: XMLHttpRequest Concept: XMLHttpRequest is a built-in constructor in the browser (belonging to the category of BOM and DOM) to create objectsFunction: used to initiate Ajax requests is the core principle of Ajax 1. Send the request using XMLHttpRequest Parsing ajax requests axios({ url:'Request address', method:' ...

Posted by bengaltgrs on Mon, 27 Dec 2021 23:02:59 +0100

Detailed explanation of event loop in javaScript --- event loop in browser and Node

Event loops in javaScript Processes and threads Thread and process are two concepts in the operating system: process: the program that the computer has run. It is a way of operating system management program;thread: the smallest unit that the operating system can run operation scheduling. Usually, it is included in the process; It sounds ve ...

Posted by gibbo101 on Mon, 27 Dec 2021 22:02:27 +0100

[JavaScript in front-end tutorials] 10_DOM programming details table operations and events

JavaScript from getting started to mastering video through train:         [1-200] JavaScript video tutorial, from introduction to mastery, with more cases of practice, easy to understand!         [201-300] JavaScript video tutorial, from introduction to mastery, with more cases of practice, easy to understand! 1, JavaScript operation table ...

Posted by jamz310 on Mon, 27 Dec 2021 21:34:02 +0100

antd Tree tree control - after incomplete selection of child nodes, you want to obtain the value of the parent node and interact with the back end

Recently, there is a requirement for a permission tree, and the structure of the tree is relatively deep. If you want to implement it, you can obtain the value of the parent node and pass it to the back end after incomplete selection of the child node. After incomplete sub node selection, you want to obtain the value of the parent node As sho ...

Posted by jcarver on Mon, 27 Dec 2021 11:45:01 +0100

JavaScript knowledge review

JavaScript goes deep from prototype to prototype chain Constructor to create an object Let's first create an object using the constructor: function Person() { } let person = new Person(); person.name = 'name'; console.log(person.name) // name In this example, person is a constructor. We use new to create an instance object person. It's ve ...

Posted by akki85 on Mon, 27 Dec 2021 11:05:19 +0100