Try   HackMD
  •  
    angular
    ·
    Created by 朱政洋 on Dec 1, 2022
    Linked with GitHub
  • Edit
Comments
Log in to edit or delete your comments and be notified of replies.
Sign upAlready have an account? Log in
There is no commentSelect some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Last changed by 

 
angular
0
62

Read more

11-form

響應式表單提供了一種模型驅動的方式來處理表單輸入,其中的值會隨時間而變化。本文會向你展示如何建立和更新基本的表單控制元件,接下來還會在一個表單組中使用多個控制元件,驗證表單的值,以及建立動態表單,也就是在執行期新增或移除控制元件。 form 表單 這裡的 require 建儀是寫在 formGroup 裡面去作理管,才可方便的在 js 中看到何為必填值。 <form [formGroup]="subscribeForm" (ngSubmit)="submit()"> <mat-form-field class="w-full"> <input matInput required type="email" formControlName="email" /> <mat-error> Please enter a valid email address </mat-error> </mat-form-field>

Jul 15, 2024
07-pipe

angular 原生的 number 需要特別去看一下 decimaPipe

Jul 15, 2024
Untitled

asdf

Dec 1, 2022
Angular CLI 操作筆記

&#x958B;&#x767C; Angular &#x5C31;&#x4E0D;&#x80FD;&#x4E0D;&#x77E5;&#x9053; Angular CLI &#x9019;&#x500B;&#x8D85;&#x7D1A;&#x597D;&#x7528;&#x7684;&#x547D;&#x4EE4;&#x5217;&#x5DE5;&#x5177;&#xFF0C;&#x6709;&#x4E86;&#x9019;&#x500B;&#x5DE5;&#x5177;&#xFF0C;&#x539F;&#x672C;&#x6E3E;&#x6C8C;&#x7684;&#x958B;&#x767C;&#x74B0;&#x5883;&#xFF0C;&#x9813;&#x6642;&#x6E05;&#x6670;&#xFF0C;&#x8A31;&#x591A;&#x7E41;&#x7463;&#x7684;&#x7463;&#x4E8B;&#xFF0C;&#x4E00;&#x500B;&#x547D;&#x4EE4;&#x5C31;&#x641E;&#x5B9A;&#xFF01;&#x9019;&#x908A;&#x662F;&#x6211;&#x81EA;&#x5DF1;&#x7684;&#x64CD;&#x4F5C;&#x7B46;&#x8A18;&#xFF0C;&#x8B93;&#x8A18;&#x61B6;&#x529B;&#x4E0D;&#x4F73;&#x7684;&#x6211;&#xFF0C;&#x6709;&#x500B;&#x5730;&#x65B9;&#x53EF;&#x4EE5;&#x65B9;&#x4FBF;&#x67E5;&#x8A62;&#x3002; &#x9019;&#x88E1;&#x7684;&#x5167;&#x5BB9;&#x4E0D;&#x4FDD;&#x8B49;&#x6700;&#x65B0;&#xFF0C;&#x4F46;&#x6703;&#x76E1;&#x91CF;&#x6301;&#x7E8C;&#x66F4;&#x65B0;&#x3002; &#x6700;&#x5373;&#x6642;&#x7684;&#x6587;&#x4EF6;&#x8ACB;&#x53C3;&#x8003; Angular CLI &#x5728; Github &#x4E0A;&#x7684;&#x6587;&#x4EF6;&#xFF0C;&#x4F8B;&#x5982;&#x8981;&#x67E5; ng new &#x9019;&#x500B;&#x6307;&#x4EE4;&#x7684;&#x7528;&#x6CD5;&#xFF0C;&#x8ACB;&#x53C3;&#x8003;&#x9019;&#x500B;&#x9023;&#x7D50;&#x3002; &#x5B89;&#x88DD; &#x5EFA;&#x8B70;&#x4F7F;&#x7528; Node.js &#x7684; npm &#x5957;&#x4EF6;&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#x4F86;&#x5B89;&#x88DD; Angular CLI&#xFF0C;&#x8ACB;&#x4F7F;&#x7528;&#x4EE5;&#x4E0B;&#x6307;&#x4EE4;&#x5B89;&#x88DD;&#xFF1A; npm install -g angular-cli

Dec 1, 2022
Read more from angular

Published on HackMD
    Expand allBack to topGo to bottom
Expand allBack to topGo to bottom

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up