当前位置: 首页>编程语言>正文

Angular Directives

鎸囦护鍦?[#Angular] 涓槸寮哄ぇ鐨勩€備絾涓ラ噸鏈緱鍒板厖鍒嗗埄鐢紒
浠ヤ笅鏄唴缃寚浠ょ殑瀹屾暣鍒楄〃锛?/p>

馃敼 閫氱敤鎸囦护 馃敼

鈥?NgClass - 鍒囨崲 CSS 绫汇€?/p>

鈥?NgComponentOutlet - 瀹炰緥鍖栫粍浠躲€?/p>

NgFor & NgForOf - 杩唬鍜屾覆鏌撳垪琛ㄣ€?/p>

鈥?NgIf - 鏉′欢妯℃澘娓叉煋銆?/p>

鈥?NgOptimizedImage - 浼樺寲鍥惧儚鍔犺浇銆?/p>

鈥?NgStyle - 鍔ㄦ€佽缃唴鑱旀牱寮忋€?/p>

鈥?NgTemplateOutlet - 浠?TemplateRef 鎻掑叆銆?/p>

鈥?NgSwitch锛?NgSwitchCase锛?NgSwitchDefault - 閫氳繃寮€鍏崇殑鏉′欢鍐呭銆?/p>

NgPlural & NgPluralCase - 鍩轰簬鍗曟暟/澶嶆暟閫昏緫鏄剧ず銆?/p>

馃敼 琛ㄥ崟鎸囦护 馃敼

鈥?AbstractFormGroupDirective - 琛ㄥ崟缁勬寚浠ょ殑鍩烘湰閫昏緫銆?/p>

鈥?CheckboxControlValueAccessor - Angular 琛ㄥ崟鍜屽閫夋鍏冪礌涔嬮棿鐨勬帴鍙c€?/p>

鈥?澶嶉€夋蹇呴渶楠岃瘉鍣?- 楠岃瘉鍣ㄧ‘淇濋€変腑澶嶉€夋銆?/p>

DefaultValueAccessor - Angular Forms 鍜?DOM 涔嬮棿鐨勯粯璁ゆˉ姊併€?/p>

鈥?鐢靛瓙閭欢楠岃瘉鍣?- 鐢靛瓙閭欢鏍煎紡鐨勯獙璇佸櫒銆?/p>

FormArrayName - 灏?FormArray 杩炴帴鍒?DOM銆?/p>

鈥?FormControlDirective - 灏嗙嫭绔嬬殑 FormControl 閾炬帴鍒?DOM銆?/p>

鈥?FormControlName - 灏嗙幇鏈?FormGroup 涓殑 FormControl 閾炬帴鍒?DOM銆?/p>

鈥?FormGroupDirective - 灏嗙幇鏈?FormGroup 閾炬帴鍒?DOM銆?/p>

鈥?FormGroupName - 宓屽鐨勭獥浣撶粍缁戝畾閫昏緫銆?/p>

鈥?MaxLengthValidator - 鏈€澶у瓧绗︿覆闀垮害鐨勯獙璇佸櫒銆?/p>

鈥?MaxValidator - 鏈€澶ф暟鍊肩殑楠岃瘉鍣ㄣ€?/p>

鈥?MinLengthValidator - 鏈€灏忓瓧绗︿覆闀垮害鐨勯獙璇佸櫒銆?/p>

鈥?MinValidator - 鏈€灏忔暟鍊肩殑楠岃瘉鍣ㄣ€?/p>

鈥?NgControlStatus - 鍙嶆槧 DOM 涓殑鎺у埗鐘舵€侊紙鏈夋晥/鏃犳晥锛夈€?/p>

鈥?NgControlStatusGroup - 鍙嶆槧 DOM 涓殑 FormGroup 鐘舵€併€?/p>

NgForm - 鍒涘缓椤剁骇 FormGroup 瀹炰緥鐨勬寚浠ゃ€?/p>

鈥?NgModel - 浠庡煙妯″瀷鍒涘缓 FormControl 骞剁粦瀹氬畠銆?/p>

鈥?NgModelGroup - 灏嗘帶浠跺垎缁勫埌涓€涓〃鍗曞煙妯″瀷灞炴€т笅銆?/p>

鈥?NgSelectOption - 缁戝畾閫夋嫨閫夐」浠ュ舰鎴愭帶浠躲€?/p>

鈥?NumberValueAccessor - 缁戝畾鏁板瓧杈撳叆鍊笺€?/p>

鈥?PatternValidator - 姝e垯琛ㄨ揪寮忔ā寮忕殑楠岃瘉鍣ㄣ€?/p>

鈥?RadioControlValueAccessor - 缁戝畾鍗曢€夋寜閽€笺€?/p>

鈥?RangeValueAccessor - 缁戝畾鑼冨洿杈撳叆鍊笺€?/p>

鈥?RequiredValidator - 纭繚瀛樺湪鍊肩殑楠岃瘉鍣ㄣ€?/p>

鈥?SelectControlValueAccessor - 缁戝畾閫夋嫨涓嬫媺鍊笺€?/p>

鈥?SelectMultipleControlValueAccessor - 缁戝畾澶氶€変笅鎷夊垪琛ㄥ€笺€?/p>

馃敼 Router Directives 馃敼

鈥?RouterLink - 鏀寔閿氱偣瀵艰埅鐨勫鑸寚浠ゃ€?/p>

鈥?RouterLinkActive - 褰撳叧鑱旂殑 RouterLink 鍙樹负娲诲姩鐘舵€佹椂锛屽皢绫绘坊鍔犲埌鍏冪礌銆?/p>

RouterLinkWithHref 锛圖eprecated锛?- 灏?href 缁戝畾鍒板叧鑱旂殑 RouterLink銆?/p>

鈥?RouterOutlet - 璺敱鍣ㄦ樉绀鸿鍥剧殑鍗犱綅绗︽寚浠ゃ€?/p>

馃敼 鍗囩骇/闈欐€佹寚浠わ細 馃敼

鈥?UpgradeComponent - 渚夸簬鍦?Angular 妯℃澘涓娇鐢?AngularJS 缁勪欢銆?/p>


https://www.xamrdz.com/lan/5cc1994046.html

相关文章: