Button hrang hrangte chu button group nen line khatah group khawm la, JavaScript hmangin super-power rawh.
Entirna bulpui ber
Button series pakhat chu in hmangin wrap .btnrawh .btn-group. Kan buttons plugin hmangin JavaScript radio leh checkbox style behavior optional te chu add rawh .
Dik taka enfiah la role, label pe rawh
Assistive technology (screen reader ang chi) te’n button hrang hrang group a rolenih thu an sawi theih nan attribute dik tak pek a ngai a ni. Button group tan chuan hei hi , a ni ang a role="group", toolbar-ah erawh chuan role="toolbar".
Chu bakah, group leh toolbar-te chu chiang taka label pek tur a ni a, a chhan chu assistive technology tam zawk chuan chutiang a nih loh chuan an puang dawn lo a, role attribute dik tak awm chung pawhin. Heta entîrna kan pêkteah hian , kan hmang aria-labela, mahse a dangte aria-labelledbypawh hman theih a ni.
Button hmangin hmanrua a awm
Button group set hrang hrangte chu component complex zawkte tan button toolbar-ah dahkhawm rawh. Group, button leh a dangte space out turin a tul angin utility class hmang ang che.
I toolbar-a input group leh button group te chu zalen takin mix la. A chunga entir ang bawkin, thil space tha tur chuan utility thenkhat i mamawh mai thei.
@ a ni.
@ a ni.
Sizing a ni
Group pakhata button tinah button sizing class apply ai chuan, group tam tak nest hunah pakhat zel pawh telh, .btn-group-*each -ah add mai rawh..btn-group
Nesting tih a ni
Dropdown menus button series nena mix i duh hunah a .btn-groupdang chhungah dah rawh ..btn-group