Forms are part of almost every web application out there. Angular strives for making working with forms a breeze. While there are a couple of built-in validators provided by the framework, we often need to add some custom validation capabilities to our application’s form, in order to fulfill our needs. We can easily extend the browser vocabulary with additional custom validators and in this articl
・JavaScriptへコンパイル tsc [ファイル名] ・node.jsで実行 node [コンパイル後のファイル名] コメント ・1行コメント // ・複数行コメント /* */ 変数の宣言 ・型指定なし var x = 10 ・型指定あり var x : number = 10 列挙型 ・列挙型の定義 enum Signal { Red, Blue, Yellow } ・アクセス Singal.Red ==> 0 Signal['Blue'] ==> 1 Signal[2] ==> Yellow 関数 ・返り値なし function sayHello(): void { console.log("Hello!") } ・返り値あり function add(a: number, b: number): number { return a+b } ・オプション引数 function
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く