The layui drop-down selection box select does not display

Bullet layer Dropdown Box has no Style_Not Clickable_No Effect_Solution for Rendering Failure 1. You must add class="layui-form" to the parent element where the form system is located Set class="layui-form" in a container to identify a form element block. If you don't want to use form, you can replace it with any common ...

Posted on Sat, 11 Jan 2020 22:44:34 -0500 by hrosas

Native JS reusable picture rotation

How to achieve the effect of the carousel chart is very simple, but how to achieve a carousel chart similar to the plug-in effect here? First of all, we have a project analysis: Effect realization: It can play automatically; There is an index showing the current picture; When the mouse slides in, a b ...

Posted on Sat, 11 Jan 2020 09:02:27 -0500 by Poolie

Regular expression note 2: Fundamentals of regular expression syntax (JavaScript)

Character description Meta character Meta character describe . Find a single character, except for line breaks and line terminations \w Find word characters \W Find non word characters \d Find number \D Find non numeric characters \s Find blank characters \S Find non blank characters ...

Posted on Sat, 11 Jan 2020 09:00:03 -0500 by zrueda

JavaScript EventLoop event loop

2020-01-11 EventLoop - event loop 1, Before learning the event cycle, learn a few English phrases EventLoop event loop Event Queue Event TableMacro taskMicro task 2, Another question of event mechanism console.log(1); setTimeout(() => { console.log(2); Promise.resolve().then(() => { console.log(3) }); }); new Promise((res ...

Posted on Sat, 11 Jan 2020 02:59:38 -0500 by nutstretch

Mini PS app - integrated open pictorial, ink electronic signature, picture drag and drop for individual consumption

Minasan, oh, ha, yo~ Personal production, this article focuses on the recent uni-app The framework of the collection of text drag and other multi-directional editing, ink electronic signature, open poster in one of the small program ideas and implementation code. Catalog 1. Full source link2. Realization ideas3. Core code 3-1. Multi direction ...

Posted on Sat, 11 Jan 2020 02:54:17 -0500 by ZibingsCoder

es6 New string method and Symbol type include startsWith endsWith repeat padStart padEnd character template

ES6 adds string recognition, repetition, completion bits, character templates, and so on. includes,startsWith,endsWith ES6 used the indexOf method to determine whether a string contains substrings. ES6 added a new method to identify substrings. Include (): Returns a Boolean value to determine if a par ...

Posted on Fri, 10 Jan 2020 20:26:34 -0500 by tnan

Electric + Vue chat imitating wechat interface | electronic Vue chat practice

brief introduction Electronic VChat practice chat project It is a chat room based on the technology of electron + Vue + electron Vue + vuex + node. It has the functions of message sending / expression, picture / video preview, drag upload / paste screenshot sending / wechat dll screenshot, right-click menu, friend circle / red packet / skin cha ...

Posted on Fri, 10 Jan 2020 11:04:45 -0500 by larand

Pure css to realize slide show and press button to change color

Method 1: use a link anchor to realize + jquery to realize button color change by pressing <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <s ...

Posted on Fri, 10 Jan 2020 10:59:17 -0500 by smarques

PHP Custom Function + System Function Library

global variable $n = 5; //global variable function fun1(){ global $n; echo 'I can also call global variables within a function body n,Its value is:' , $n;//5 $n++; } fun1(); echo '<hr>'; echo $n;//6 $n = 6; function fun1(){ echo 'The value of the variable is:' , $GLOBALS[' ...

Posted on Thu, 09 Jan 2020 22:56:56 -0500 by dantone

The way of VUE learning (2) Vue.extend of global API

One. Vue.extend definition Vue.extend returns an "extended instance constructor", that is, a Vue instance constructor with some options preset. Vue.component is often used to generate components. It can be simply understood that when a user-defined element with the component name as a label is encountered in the temp ...

Posted on Thu, 09 Jan 2020 11:55:42 -0500 by AStrangerWCandy