Select Control Based on Element UI to Realize Single Line Display in Multi-Choice Box-Moving Left and Right

The main function of the control is to display multiple tags in a single line, and to move tags in components by using left and right keys. Code directly: <el-select v-model="tags" ref="tagsSelect" multiple filterable remote clearable popper-class="tag-input-options" :rem ...

Posted by simwiz on Sun, 06 Oct 2019 11:37:46 -0700

Small program cloud development strategy to solve the most difficult problems

background Recently, the small program is very popular. According to the requirements of the company's business development, several small programs have been developed and maintained. The small programs developed by the company are all interfaces provided by the back-end. The development is tedious and complex. Until the small programs appear i ...

Posted by HGeneAnthony on Sun, 29 Sep 2019 02:27:06 -0700

Detailed description of the whole process of Web pack loader configuration

Preface 1. The main purpose is to sort out the process from configuration to loading slightly. In addition, the detailed explanation of course to add some source code to enhance the style (my rookie, there are mistakes, please kindly correct) 2. The files packaged by WebPack are transformed into a mod ...

Posted by macmonkey on Wed, 25 Sep 2019 02:08:04 -0700

Hierarchy and Constraints: Three Optimizations for Using vuex in Projects

Problem description In the process of using the store of vuex, we found some not very elegant points: There are too many modules in the store layer, so it is slow to find the corresponding modules of state, getter, mutation and action. There are too many mapGetters, mapActions, and mapMutations in ...

Posted by Calgaryalberta on Sun, 22 Sep 2019 20:31:50 -0700

Provide Vue.js with TypeScript for Angular (2+) developers

Links to the original text: https://www.codeproject.com/Articles/5161835/Vue-js-with-TypeScript-for-the-Angular-2plus-Devel Catalog introduce Evolution of Single Page Applications (SPA) Overview of Three Frameworks Vue.js, Angular De ...

Posted by fahhem on Thu, 12 Sep 2019 06:28:53 -0700

Namespaces and modules

introduce A module is executed in its own scope, not in the global scope, which means that variables, functions, classes, etc. defined in a module can only be used after the module is introduced Export declarations: Any declaration can be exported by adding the export keyword (for example, variables, functions, classes, type aliases, or inter ...

Posted by lush_pierre on Fri, 06 Sep 2019 09:17:43 -0700

TypeScript Initial Knowledge-Generics

Generics refer to a feature that defines functions, interfaces, or classes without specifying specific types in advance, and then specifies types when used.Generics are used to create reusable components that support multiple types of data. Simple use Defining functions using any type is similar to generics, but not really generics: // Input va ...

Posted by dsdintn on Wed, 04 Sep 2019 21:10:39 -0700

TypeScript novelty-function

Functions are first-class citizens of JavaScript, where functions can implement abstraction layers, simulation classes, information hiding, modules, and so on.TypeScript extends the functionality of functions on a certain basis. Function type Function return value type We can add a type to each parameter before adding a return value type to the ...

Posted by suepahfly on Sun, 25 Aug 2019 19:27:18 -0700

Attempt Link to Implement React Native Application on iOS and Android

Original: https://pantao.parcmg.com/press/react-native-deep-linking-for-ios-android.htmlCode: https://github.com/pantao/react-native-deep-linking-example We live in an age of all things being shared, and the process of sharing will almost eventually share a link. So, as a developer, the most common problem should include how to quickly open App ...

Posted by warik on Sun, 18 Aug 2019 06:10:02 -0700

Third-party library production for Egret

Reference resources: Use of third-party libraries   Goal: The goal is to build a third-party library of existing game frameworks and reduce compilation time.Do not want others to see the source code, reduce readability.   Create a third-party library In any folder, I create a test folder here, shift+right-click, open the command line win ...

Posted by GoodGuy201 on Sun, 04 Aug 2019 14:41:00 -0700