Angular vs React vs Vue vs UISYS event binding comparison (novice must see)
1. Start from zero
Event binding is the second lesson for beginners in web development, and learning event binding represents a new lesson in which you will challenge interaction.Let's first look at what native html + JavaScript does:
Native mode:
<div>
<button onclick="greet()">Greet</button>
</div>
<script>
...
Posted by Lodius2000 on Fri, 17 Apr 2020 04:30:03 +0200
AngularJS dynamic load Controller
We encapsulate the implementation of dynamic loading Controller method into a general module, and name the module ngCommon.
(function (angular) {'use strict';
var CommonApp = angular.module('ngCommon');
...
})(angular);
Next, we implement a dynamic js loading method $require.
/* Record the loaded js */
var loaded = {};
...
Posted by bastienvans on Sat, 04 Apr 2020 17:24:02 +0200
UI route multi level route refresh current page
This is a blog based on the last UI route: UI route multi-level routing nesting default display
Because it used to be a demo, but today it's a big problem because it's ready to be used in the project. Click the other navigation under the secondary navigation and then click the refresh button of the browser. You will find that ...
Posted by kee2ka4 on Sat, 04 Apr 2020 02:50:17 +0200
Angular form validation
Template driven validation
Using template driven validation depends on Native HTML form validator Angular uses instructions to match these attributes with validation.
There are two kinds of native HTMl validators
Define by semantic type
Define by verifying related properties
semantic type
...
Posted by philicious on Mon, 16 Mar 2020 12:18:54 +0100
XML definition of MAVLink protocol parsing
Article directory
1 basic structure of mavlink XML file
2 message
3 enum
1 basic structure of mavlink XML file
The following code block is the xml data document defined by the mavlink message
Code block 1
<?xml version="1.0"?>
<mavlink>
<version>3</version>
<diale ...
Posted by jola on Tue, 25 Feb 2020 12:11:44 +0100
MPU6050 rapid development and use
What is MPU6050?
It is a 6-axis motion processing chip composed of 3-axis gyroscope and 3-axis acceleration sensor. It can also connect magnetic sensor (such as GY-282 magnetic compass) through a reserved IIC interface. Other models include MPU6000, MPU9150, MPU9250, etc.Fast hardware setup:
Communicati ...
Posted by shumway on Tue, 25 Feb 2020 07:54:22 +0100
Angular JS 1.5.8 - Controller and Scope
Controller and Scope
Controller
Create and use controllers
angular.module("exampleApp", [])
.controller("simpleCtrl", function ($scope) {
$scope.setAddress = function (type, zip) {
$scope[type] = zip;
}
$scope.copyAddress = function () {
$scope.shippingZip = $scope.billingZip;
}
})
Controllers are cre ...
Posted by ckuipers on Sun, 19 Jan 2020 17:07:14 +0100
Web front-end UI framework JQuery WeUI
Get JQueryUI
http://jqweui.com/
Jquery WeUI is a jQuery implementation version of WeUI. In addition to the official plug-ins, it also provides a variety of extension components such as pull-down refresh, calendar, address selector, etc. The JS components in jQuery WeUI are provided in the form of jQuery plug-ins, which are ...
Posted by gpong on Sat, 28 Dec 2019 16:23:55 +0100
3D science fiction fan based on HTML5 WebGL
Preface
For many centuries, wind turbine, like hydraulic machinery, has played an important role in the development of productivity as a power source to replace human and animal resources. The wide application of modern electromechanical power and the discovery of Middle East oil field in 1950s slowed down the development of fan generator.
In t ...
Posted by lopes_andre on Wed, 11 Dec 2019 12:01:49 +0100
Sample code of three ways to make a simple todo application with Vue
This article mainly introduces the sample code of three ways to use Vue to make a simple todo application. Xiaobian thinks it's very good. Now I'll share it with you and give you a reference. Let's follow Xiaobian to have a look
1. Reference vue.js
`<!DOCTYPE html>`
`<html>`
`<head>`
`<script src=``"[http://vuejs. ...
Posted by rotto on Sun, 08 Dec 2019 09:29:50 +0100