Video: Muaj pes tsawg validators muaj nyob rau hauv angular?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Nco ntsoov tias: Lub npe tswj teeb tsa ob lub built-in cov validators - Cov validators .yuav tsum tau thiab Cov validators .minLength(4) -thiab ib qho kev cai tus validator , forbiddenNameValidator. Yog xav paub ntxiv mus saib Custom cov validators ntu hauv phau ntawv qhia no.
Ib yam li ntawd, tib neeg nug, dab tsi yog validators nyob rau hauv angular?
A validator hauv Angular yog ib txoj haujlwm uas rov qab tsis tau yog tias qhov kev tswj tau siv tau lossis qhov khoom yuam kev yog tias nws tsis raug. Rau cov qauv-tsav cov ntaub ntawv peb tsim kev cai validation functions thiab dhau lawv mus rau hauv lub FormControl constructor.
Kuj Paub, FormControl yog dab tsi hauv angular? FormControl tuaj yeem siv standalone nrog rau HTML daim ntawv cim npe. Angular siv peb lub hauv paus thaiv los tsim lub kaum sab xis reactive daim ntawv uas yog FormControl , FormGroup thiab FormArray. FormControl : Nws yog ib chav kawm uas siv tau thiab teeb tsa qhov tseem ceeb thiab siv tau ntawm a daim ntawv tswj zoo li thiab tag.
Hauv qhov no, pes tsawg hom angular 4 daim ntawv muaj?
ob
Ng qias neeg yog dab tsi?
Cov ng - qias neeg chav kawm qhia rau koj tias daim ntawv tau raug hloov kho los ntawm tus neeg siv, whereas tus ng -pristine chav kawm qhia koj tias daim ntawv tsis tau hloov kho los ntawm tus neeg siv. Yog li ng - qias neeg thiab ng -pristine yog ob sab ntawm tib zaj dab neeg. Cov chav kawm yog teem rau txhua qhov chaw, thaum daim ntawv muaj ob lub zog, $ qias neeg thiab $pristine.
Pom zoo:
Muaj pes tsawg theem ntawm indirection nyob rau hauv pointers koj muaj peev xwm muaj nyob rau hauv ib qho kev tshaj tawm?
Koj puas tuaj yeem muaj nyob rau hauv ib qho kev tshaj tawm? cov lus teb yog "tsawg kawg 12." txhawb ntxiv. ntawm saj, tab sis muaj qhov txwv. Muaj ob theem ntawm kev taw qhia (tus taw tes rau tus taw tes rau ib yam dab tsi) yog qhov ntau
Muaj pes tsawg I O hom muaj nyob rau hauv 8255a programmable peripheral interface?
ob hom Tom qab ntawd, programmable peripheral interface yog dab tsi? Programmable peripheral interface 8255. PPI 8255 yog lub hom phiaj dav dav programmable I/O ntaus ntawv tsim los rau interface lub CPU nrog nws lub ntiaj teb sab nraud xws li ADC, DAC, keyboard thiab lwm yam.
Muaj pes tsawg lub tswv yim muaj nyob rau hauv hibernate qub txeeg qub teg?
Muaj peb txoj hauv kev ua kom tau raws li qhov qub txeeg qub teg tau teev tseg hauv hibernate: Table Per Hierarchy
Muaj pes tsawg qhov chaw nyob daim ntawv lo tuaj nyob rau hauv ib lub teeb ntawm Shutterfly?
24 chaw nyob daim ntawv lo
Muaj pes tsawg cov khoom nyob hauv ib byte pes tsawg tus nibbles nyob hauv ib byte?
Txhua 1 lossis 0 hauv tus lej binary raug hu ua me ntsis. Los ntawm qhov ntawd, ib pawg ntawm 4 cov khoom hu ua nibble, thiab 8-ntsis ua ib byte. Bytes yog ib tug zoo nkauj buzzword thaum ua hauj lwm nyob rau hauv binary