Verification implementation of process designer based on BPMN JS

bpmnlint Introduction (reprinted in nuggets, plus my own understanding) The verification rules need to be controlled in the project, but it is too difficult to customize, It validates your chart against a set of defined rules and reports it as an error or warning. It can check your BPMN diagram from the command line, or through bpmn-js-bpmnli ...

Added by elbowgrease on Tue, 08 Feb 2022 13:15:04 +0200

Quill rich text editor practice - DevUI

DevUI It is an open-source front-end solution for enterprise middle and back office products. It advocates the design values of immersion, flexibility and simplicity, advocates designers to serve the real needs and design for most people, and rejects the design that attracts the attention of the public. If you are developing tool products of To ...

Added by broomstick on Tue, 08 Feb 2022 06:36:00 +0200

Construction practice of front-end drawing bed (front-end chapter)

Project background It is inevitable to use multimedia materials such as pictures and videos in the front-end development process. The common processing schemes usually separate the dynamic and static, and place pictures and other resources on the drawing bed. In addition to using the drawing bed resources commonly used in the industry, suc ...

Added by ranjuvs on Mon, 07 Feb 2022 12:59:05 +0200

TypeScript learning - 22 JavaScript file type check

JavaScript file type check Typescript versions after 2.3 support the use of – checkJs pairs js file for type check and error prompt. You can ignore type checking by adding the / / @ TS nocheck annotation; Instead, you can check some by removing the – checkJs setting and adding a / / @ TS check comment JS file. You can also use ...

Added by JustGotAQuestion on Mon, 07 Feb 2022 08:03:23 +0200

TypeScript learning-19 decorator

Decorator introduce With the introduction of classes in TypeScript and ES6, in some scenarios, we need additional features to support labeling or modifying classes and their members. Decorators provide a way for us to add annotations on class declarations and members through metaprogramming syntax. Decorators in Javascript are currently i ...

Added by Timma on Mon, 07 Feb 2022 07:37:06 +0200

Vue3&TypeScript pit summary

Installation environment 1.node version above 12 Project creation npm init @vitejs/app + Project name 1. Configure routing router-index.ts npm install vue-router@4 --save import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"; const routes: Array<RouteRecordRaw> = [ { path: "/", name: "Home", meta: { ...

Added by a-mo on Mon, 07 Feb 2022 03:38:36 +0200

An article makes you understand Reflect and Reflect metadata(JavaScript)

An article makes you understand Reflect and Reflect metadata(JavaScript) introduction We often see the use of Reflect in Javascript, but we always don't understand the difference between it and Object. In addition, we don't often use it in work, so we are in a state of ignorance. So make up your mind to use this article to understand it thoro ...

Added by ilikephp on Sun, 06 Feb 2022 07:58:13 +0200

The difference between for loop and forEach

We discuss from several dimensions: 1. The essential difference between for loop and forEach. 2. The syntax difference between for loop and forEach. 3. The performance difference between for loop and forEach. Essential difference for loop is a loop method that existed when js was proposed. forEach is a method proposed by ES5 and attach ...

Added by UTAlan on Sun, 06 Feb 2022 06:15:12 +0200

Differences among let, const and var in JavaScript

stay In ES5, declared variables have only var and function has two forms. However, the variables declared by var have certain disadvantages (the problem that the inner variables may cover the outer variables and the circular variables used to count are leaked to global variables, which are described below), ES6 proposes the use of let an ...

Added by Waxxy on Thu, 03 Feb 2022 11:20:58 +0200

React hook + typescript + styled component site building

Technology selection Comparison between Vue and React Componentization vue's componentization is to put the UI structure (template), UI style (style), data and business logic (script) in one vue file, before running vue files will be compiled into real components; The Componentization of React is to implement components directly in the form o ...

Added by ganeshasri on Wed, 02 Feb 2022 16:01:20 +0200