Dab tsi yog qhov chaw nyob hauv angular?
Dab tsi yog qhov chaw nyob hauv angular?

Video: Dab tsi yog qhov chaw nyob hauv angular?

Video: Dab tsi yog qhov chaw nyob hauv angular?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Kaum ib hlis
Anonim

Qhov chaw . Cov qhov chaw yog cov ntawv qhia thaum daim ntawv lo yog ntab tab sis cov tswv yim yog khoob. Nws yog siv los muab cov lus qhia ntxiv rau tus neeg siv txog qhov lawv yuav tsum tau ntaus hauv cov tswv yim. Cov qhov chaw tuaj yeem teev los ntawm kev teeb tsa qhov chaw attribute rau lub caij.

Ntawm no, dab tsi yog kev siv qhov chaw?

Hauv computer programming, a qhov chaw yog ib tug cim, lo lus, los yog hlua ntawm cov cim uas yuav siv sij hawm qhov chaw ntawm cov ntaub ntawv zaum kawg. Piv txwv li, tus programmer yuav paub tias nws xav tau qee tus lej ntawm qhov tseem ceeb lossis qhov hloov pauv, tab sis tseem tsis tau paub tias yuav tsum nkag siab dab tsi.

Ib sab saum toj no, ua li cas koj ntxiv ib qhov chaw rau ib daim teb? Placeholder text yog dab tsi tshwm sim hauv koj nkag element ua ntej koj tus neeg siv tau inputted dab tsi. Nco tseg: Nco ntsoov tias nkag cov ntsiab lus yog kaw tus kheej. Teeb lub qhov chaw tus nqi ntawm koj ntawv sau mus rau "cat yees duab URL". Koj yuav tsum ntxiv qhov chaw attribute rau cov uas twb muaj lawm ntawv sau keeb.

Hauv qhov no, kev siv qhov chaw nyob hauv HTML yog dab tsi?

Cov qhov chaw attribute qhia ib tug luv luv hint uas piav txog tus nqi uas yuav tsum tau ntawm ib tug input teb (piv txwv li tus nqi piv txwv los yog ib tug luv luv piav qhia ntawm lub hom phiaj xav). Cov lus qhia luv luv tau tshwm sim hauv qhov chaw nkag ua ntej tus neeg siv nkag mus rau tus nqi.

Dab tsi yog lev hauv angular?

Kev tshaj tawm. Qhov < mat -form-field>, ib Angular Cov lus qhia, yog siv los tsim ib lub wrapper tshaj lub kaum sab xis Cheebtsam thiab yog siv los siv cov ntawv sau zoo li hauv qab, bold, lus qhia thiab lwm yam.

Pom zoo: