8. Advanced play of components: dynamic components

The normal way to use child components in the parent component is as follows: In the parent component html template code: <! -- previous content -- > ... < child component > < / child component > <! -- insert the sub component tag directly here, and then the content in the tag is fixed -- > . ...

Posted on Tue, 07 Apr 2020 12:10:17 -0400 by jesse_james

Gradle this article is enough for 09 - initialization with gradle init

Initialization with gradle init Many tools have the initial function of creating a project skeleton, such as the angular front-end framework. Using its cli, you can quickly create a skeleton containing nearly 30 files, which enables you to quickly build a project. maven can also simplify the creation of pom through command-line interaction, whi ...

Posted on Sun, 05 Apr 2020 20:03:19 -0400 by daniel_grant

Learning of Vue.js 1.0

Learning of Vue.js 1.0 It's not strange to see angular and vue again, and it's relatively easy to start. So what's the difference between vue and angular? vue - simple and easy to learn Instruction in v-xxx A piece of html code cooperates with json, and the vue instance comes out in new Personal maintenance project Suitab ...

Posted on Sun, 05 Apr 2020 05:40:11 -0400 by tanita

bootstrap startup of AngularJS API

bootstrap startup of AngularJS API For ordinary users, the ng app of AngularJS is manually bound to a dom element. But in some applications, it is very inconvenient. Binding initialization The initialization of angular by binding will intrude js code into html, but it is enough for novice users! <html> <hea ...

Posted on Fri, 03 Apr 2020 22:14:35 -0400 by onion2k

[daily] Go language Bible GIF Animation Practice Grammar

1. The value declared by a constant must be a numeric value, a string, or a fixed boolean value.2. Constant declaration and variable declaration usually appear at package level3.[]color.Color {...} generates a slice and gif.GIF {...} generates a struct structure. These two expressions are what we call composite declarations4.struct is a set of ...

Posted on Thu, 02 Apr 2020 21:26:37 -0400 by zabmilenko

Three level linkage of ionic3

Catalog Install ion multi picker Import app.module.ts Create provider Create page A pit More Design sketch 1. Install ion multi picker Terminal operation: npm install ion-multi-picker@2.1.0 --save 2. Import app.module.ts ... import {MultiPickerModule} from 'ion-multi-picker'; ... @NgModule({ ... imports: [ ... ...

Posted on Wed, 18 Mar 2020 11:20:18 -0400 by the DtTvB

Understand the subject in rxjs

I've learned angular for a long time. There are many operands in rxjs. The subject can imitate others' chestnuts and write a general outline. But do I really understand and master the subject in rxjs? I've been told before that of all the things we learn in life, what is really unforgettable is what we teach others. So now I will sort it out sl ...

Posted on Tue, 17 Mar 2020 01:06:04 -0400 by Siann Beck

With TypeScript error http.get (...) . map's angle HTTP GET is not a function in [null]

I have an HTTP problem in Angular. I just want to GET a JSON list and display it in the view. Service level import {Injectable} from "angular2/core"; import {Hall} from "./hall"; import {Http} from "angular2/http"; @Injectable() export class HallService { public http:Http; public static PATH:string = 'app/backend/' co ...

Posted on Thu, 12 Mar 2020 08:55:27 -0400 by Scrumpers

Angular from pit to pit - Form Control Overview

1, Overview The third part of notes about angel's pit record introduces the concept of form control in angel, how to create a form in angel and how to verify the data of form control. Corresponding official document address: Introduction to Angular form Responsive form Template driven forms Form Validation Supporting code address: angular-pra ...

Posted on Wed, 04 Mar 2020 08:47:13 -0500 by dopey

ionic notes sidebar component ion menu and bottom tabs combined with sidebar ion menu

1. Basic use of sidebar component ion menu Create project ionic start myApp sidemenu // If you want to create a sidebar, bring the last sidemenu You need to cd to the directory where you want to create the project, and enter the command enter Then open the folder in vscode, select it, open We found ...

Posted on Thu, 27 Feb 2020 21:18:58 -0500 by merylvingien