javascript

[uni-app] Recommendation & introduction of third-party UI components

ui component recommendation 1. Muse-UI Muse UI is a set of Material Design style open source component libraries designed to quickly build pages. It is developed based on Vue 2.0 and provides custom themes to fully meet customizable needs.material-design-icons is a set of icons defined by Googletypeface is a set of fonts defined by Google 2. Vant Weapp Vant is a lightweight, reliable mobile compon... »

You can learn the Vue slot as soon as you learn it. Do you really want to take a look at it? (use scaffolding)

Table of contents I. Introduction Please pay attention to the complete content: Before you start: 2. Basic use of slot slots Subassembly: Parent component: Display of results: 3. Basic use of domain name slots Subassembly: Parent component: Show results: Notice: 4. How to obtain content from subcomponents through slots Subassembly parent component Show results: 5. Scope slot case Subassembly paren... »

uniapp – share on WeChat on ios and android, download by opening appStore and app store

The premise is that the iOS and Android versions of the app have been put on the AppStore and App Store. Open the official website of Yongyingbao App Markethttps://webcdn.m.qq.com/webapp/homepage/index.html#/ Search the app name in the search box to find the app and click to enter The link of the current page is the link that will be shared later through WeChat to jump to the App Store to download... »

uniapp implements interception before tabbar page jumps

Requirements encountered: After entering the mini program wxlogin request successfully and requesting another interface, a field value will be obtained. Based on this value, it can be judged whether to jump to the second tabaar page and a corresponding prompt will be given. use uni.addInterceptor uni.addInterceptor is generally a method used to intercept APIsspecifichttps://uniapp.dcloud.io/api/in... »

Teach you step by step how to install VSCode (with illustrated steps)

1. Front-end tool vscode 1.1. Overview Front-end development is the process of creating front-end interfaces such as Web pages or apps to present to users. It uses HTML, CSS, JavaScript, and various derived technologies, frameworks, and solutions to realize user interface interaction of Internet products [1]. It evolved from web page production, and its name has obvious characteristics of the time... »

Implement drag and drop sorting in vue

Native drag API implements drag and drop Set element dragable Set the draggable attribute of the element to true (the draggable attribute of the text image link defaults to true) and the element can be dragged and dropped. <div :draggable="true">drag</div> drag and drop event There are two types of elements involved in the drag and drop process, one is the dragged element (source objec... »

DOM —— Delete node

Delete node:node.removeChild(child) //html code <button>delete</button> <ul> <li>Xiong Da</li> <li>Kumaji</li> <li>Bald Strong</li> </ul> //js code // 1. Get elements var ul = document.querySelector('ul') var btn = document.querySelector('button') // 2. Delete the element node.removeChild(child) // ul.removeChild(ul.children[0]) // 3. Cli... »

Ajax Advanced Chapter 02—Cross-domain and JSONP

PrefaceNo matter how bumpy the road ahead is, as long as you go in the right direction, you are closer to happiness than standing still. Ajax Advanced Chapter 02—Cross-domain and JSONP 1. Ajax Advanced Chapter 02—Cross-domain and JSONP(1) Same origin strategy1.1 What is homology1.2 What is the same-origin policy? (2) Cross-domain2.1 What is cross-domain2.2 Browser interception of cross... »

I have painstakingly compiled a comprehensive collection of JavaScript knowledge points, with super detailed suggestions for collection! ! !

I have painstakingly compiled a comprehensive collection of JavaScript knowledge points, with super detailed suggestions for collection! ! ! ✴️Hello everyone, I’m Mr. Wang. Mr. Wang from 3 Days and 3 Nights has sorted out the JavaScript knowledge points. The article does not have any routines, but is full of useful information. ✴️If it helps you, please give me a like so that we don’t owe each oth... »

Node.js implements WebSocket

1. Reasons for the emergence of WebSocket 1. Shortcomings of REST API released by Http protocol: After each request response is completed, the connection between the server and the client is disconnected. If the client wants to continue to obtain messages from the server, it must initiate a request to the server again. beg. This obviously cannot adapt to scenarios with high requirements for real-t... »

Page 1 of 81123»