Solution to the problem of value transfer between iframes, value transfer between iframes and external and cross domain iframes (provide complete examples)

Needs and assumptions Suppose that there are two iframe1 and iframe2 sub components of the same level under the parent component; The requirement is that the parent component can pass values to iframe, and iframe1 and iframe2 can also pass values to each other; Not cross domain thinking: 1. In the case of no cross domain, the parent componen ...

Posted by spxmgb on Thu, 05 May 2022 13:09:15 +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

[learn Javascript and draw on canvas]

1. What language is JavaScript? JavaScript is embedded in the browser (running a script) 2. Three ways to introduce JavaScript into the page (1) Inline Inline: written in the attribute of the tag ① Code snippet display: <body> <!-- Inline --> <a href="javascript:alert('Network signal difference')">Baidu</a& ...

Posted by saikiran on Tue, 03 May 2022 14:44:26 +0300

[Electron Playground series] pallets

Author: Liang Bangbang Although the tray is small, its function is not small. It is the identification that your application is running in the operating system. It can notify you of new messages, wake up the application interface, set the context (right-click) menu, set more functions, etc. Let's implement these functions one by one, and operat ...

Posted by sidwilroy on Tue, 03 May 2022 13:33:29 +0300

css selector priority resolution and font attribute resolution

Welcome~ 1. Multiple styles If some attributes are defined by the same selector in different style sheets, the attribute values will be inherited from the more specific style sheet.   For example, an external style sheet has three properties for h3 selectors: The internal style sheet has two properties for h3 selectors: ​ h3 { col ...

Posted by arkleyjoe on Tue, 03 May 2022 07:05:59 +0300

Introduction to common layout

1, Introduction Web page layout is very important for a front-end developer. Mastering layout knowledge will help us better realize the design and development of CSS interface. Layout is the arrangement of elements in a limited space. Because the page design does not scroll horizontally and extends infinitely vertically, the layout discussed mo ...

Posted by Arenlor on Mon, 02 May 2022 22:24:50 +0300

CSS basic syntax: selector, common element attributes, box model, flexible layout

1, What is CSS HTML only describes the skeleton structure and content of the page. CSS can describe the style of the page and further beautify the page Cascading style sheets CSS can accurately control the layout of the element position in the web page at the pixel level, realize the effect of beautifying the page, and separate the style ...

Posted by phanh on Mon, 02 May 2022 16:42:14 +0300

Vue3 source code analysis (calculated calculated attribute)

Author: Qin Zhiying preface In the previous article, we analyzed the whole process of Vue3 response. In this article, we will analyze how the calculated calculation attribute in Vue3 is implemented. In Vue2, we have a clear understanding of calculation attributes. Vue3 provides a calculated function as the API of calculation attributes. Next, w ...

Posted by Michael001 on Mon, 02 May 2022 07:22:44 +0300

Four ways to realize visualization in browser

Understanding of visualization: visualization is the theory, method and technology of organizing data into a structure that is easy to be understood and recognized by people, and then presenting it in the form of graphics. There are four ways to achieve visualization: 1,html+css Some simple charts can be implemented with html and css. Advan ...

Posted by tiagofrancis on Sun, 01 May 2022 20:50:09 +0300

Body tag in Html

HTML doby tag Modify style labels: The old style (almost won't be used): br label #1. < br > line feed I'm handsome Egon teacher <br> hr split line #2. < HR > split line <b> Bold #3. < b > bold <b>On selfie, I kill the universe</b> font modify text size and color #4. ...

Posted by michaeru on Sun, 01 May 2022 14:01:29 +0300