Learning XML DOM -- a typical model for parsing XML documents

The book continues from the above: about the structure, characteristics and attributes of XML XML DOM learning notes If you want to parse, read, and write XML, you need to learn XML DOM 1. What is XML DOM? [the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the pic ...

Posted on Sun, 28 Nov 2021 05:50:40 -0500 by BuckeyeTheDog

[Vue learning notes _15] Vue Router front end routing

Supporting executable code example = > GitHub Development history of front-end routing Routing: the activity of transmitting information from a source address to a destination address over an interconnected network Router provides two mechanisms: routing and forwarding Routing: determines the path of a packet from the source address ...

Posted on Sun, 28 Nov 2021 00:26:16 -0500 by s.eardley

vue uses keep alive to cache pages

concept Keep alive is a built-in component of Vue. When it wraps dynamic components, it caches inactive component instances instead of destroying them. Like transition, keep alive is an abstract component: it does not render itself as a DOM element, nor does it appear in the parent component chain. effect In the process of component swit ...

Posted on Sat, 27 Nov 2021 22:55:17 -0500 by Takuma

Day 1 - Web APIs

Learning objectives: Elements can be obtained by ID, elements can be obtained by tag name, elements can be obtained by class, elements can be obtained by selector, elements can be obtained by body and html elements can register events for elements can modify the contents of elements can distinguish between innerText and innerHTML can mod ...

Posted on Sat, 27 Nov 2021 12:21:06 -0500 by DeadDude

Homemade gif effect

Homemade gif effect Note: In this example, the initial effect prevails Write before: I wanted to write an effect like this. However, it is also good to add a regular playback to him after writing. So the improved results are as follows I don't think it's perfect after this is done. So I think of comics, which are animations that can mov ...

Posted on Sat, 27 Nov 2021 12:19:37 -0500 by inversesoft123

Day 4 - Web APIs

Learning objectives: Ability to say 3-5 common keyboard events Ability to know how to get which key the current keyboard is pressing Know the browser's top object window Ability to use window.onload events Ability to use window.onresize events Ability to tell the difference between two timers Ability to complete jumps between ...

Posted on Sat, 27 Nov 2021 12:14:49 -0500 by digitalmustache

Common methods of JS native array operation

1.push() Syntax: array. Push (data) Function: append data to the end of the array Return value: the latest length of the array after appending data //Prepare a raw array var arr=[100,200,300,400] //Output once console.log(arr) //Execute push method var res=arr.push('Additional data') console.log(arr) console.log(r ...

Posted on Fri, 26 Nov 2021 12:20:45 -0500 by mxdan

jsp, operate the varStatus attribute in the c:foreach tag to implement mouse events

catalogue Effect display Implementation code 1. Front end jsp code (focus on front-end code) 2. Front end js code (focus on front-end code) About varStatus in c:foreach tag Effect display           Note: in the jsp page, use the < C: foreach > tag to traverse all the commodities in ...

Posted on Fri, 26 Nov 2021 10:19:51 -0500 by whitepony6767

Domain Driven Design - Code catalog specification

Reprinted from https://github.com/Vincedream/ddd-fe-demo directory structure ├── common │♪ components / / common components │♪ constants / / global variables │ │ ├── goods │ │ │ └── index.js │ │ ├── ... │♪ data source / / data interface layer │ │ ├── goods │ │ │ ├── requestApis.js │ │ │ └── translators.js │ │ ├── ... │♪ domains / / domai ...

Posted on Fri, 26 Nov 2021 05:04:04 -0500 by sdotsen

Dom of JavaScript (get element, event basis, operation element)

1, Introduction to DOM 1. What is DOM? Document Object Model (DOM) is a standard programming interface recommended by W3C to deal with extensible markup language (HTML or XML). 2. Construction of DOM tree As shown in the figure below: Document: a page is a document, which is represented by document in DOM Element: all tags in the page ...

Posted on Fri, 26 Nov 2021 04:23:56 -0500 by shivani.shm