Kooxaha liisku waa qayb dabacsan oo awood badan si ay u muujiyaan taxane taxane ah. Wax ka beddel oo u fidi si ay u taageeraan wax kasta oo ku jira.
Tusaalaha aasaasiga ah
Kooxda liiska ugu aasaasiga ah waa liis aan la dalban oo ay ku jiraan shay liis ah iyo fasalo habboon. Ku dul dhis xulashooyinka soo socda, ama CSS kaaga haddii loo baahdo.
Cras justo odio
Dapibus ac facilisis in
Morbi leo risus
Porta ac consectetur ac
Vestibulum iyo eros
Alaabada firfircoon
Ku dar .activesi aad .list-group-itemu muujiso doorashada firfircoon ee hadda
Cras justo odio
Dapibus ac facilisis in
Morbi leo risus
Porta ac consectetur ac
Vestibulum iyo eros
Alaabta naafada ah
Ku dar .disabledsi .list-group-itemaad ugu ekaato mid naafo ah. Ogsoonow in qaar ka mid ah walxaha wata .disableday sidoo kale u baahan doonaan JavaScript-ka caadiga ah si ay si buuxda u baabi'iyaan dhacdooyinka gujintooda (tusaale, iskuxirayaasha).
Cras justo odio
Dapibus ac facilisis in
Morbi leo risus
Porta ac consectetur ac
Vestibulum iyo eros
Xiriirinta iyo badhamada
Isticmaal <a>s ama <button>s si aad u abuurto liiska wax qabad ee shayyada kooxda oo leh dullid , naafo, iyo gobolo firfircoon adoo ku daraya .list-group-item-action. Waxaan u kala saarnay fasaladan been abuurka ah si aan u hubinno kooxaha liiska ka samaysan ee ka samaysan walxaha aan is-dhexgal ahayn (sida <li>s ama <div>s) ayan bixin wax riix ah ama taabasho lacag bixin ah.
U hubso inaadan isticmaalin .btnfasalada caadiga ah halkan .
s , <button>waxa kale oo aad isticmaali kartaa disabledsifada halkii aad ka isticmaali lahayd .disabledfasalka. Nasiib darrose, <a>s ma taageeraan sifada naafada.
Biyo raaci
Ku dar .list-group-flushsi aad uga saarto qaar ka mid ah xuduudaha iyo geesaha wareegsan si aad ugu muujiso liiska walxaha gees-ilaa-geeska weelka waalidka (tusaale, kaararka).
Cras justo odio
Dapibus ac facilisis in
Morbi leo risus
Porta ac consectetur ac
Vestibulum iyo eros
Fasalada macnaha guud
Isticmaal fasalo macnaha guud si aad u habayso liiska walxaha leh asal dawladeed iyo midab.
Dapibus ac facilisis in
Shayga liiska aasaasiga ah ee fudud
Shayga liiska sare ee fudud
Shayga liiska guusha fudud
Shayga liiska khatarta fudud
Shayga liiska digniinta fudud
Shayga liiska macluumaadka fudud
Shayga liiska fudud ee fudud
Shayga liiska madow fudud
Fasallada macnuhu waxa kale oo ay la shaqeeyaan .list-group-item-action. U fiirso ku darida qaababka dullidda halkan kuma jiraan tusaalihii hore. Waxa kale oo la taageeraa .activedawladda; Codso si aad u muujiso xulashada firfircoon ee shayga liiska macnaha guud.
Isticmaalka midabka si loogu daro macnaha kaliya waxay bixisaa tilmaam muuqaal ah, taas oo aan loo gudbin doonin isticmaalayaasha tignoolajiyada caawinta - sida akhristayaasha shaashadda. Hubi in macluumaadka lagu tilmaamay midabku ay ka cad yihiin waxa ku jira laftiisa (tusaale qoraalka muuqda), ama lagu soo daro habab kale, sida qoraal dheeraad ah oo .sr-onlyfasalka dhexdiisa ku qarsoon.
Calaamado wata
Ku dar calaamado liis kasta shay kooxeed si aad u muujiso tirooyinka aan la akhriyin, nashaadaadka, iyo wax ka badan iyadoo la kaashanayo adeegyada qaarkood .
Cras justo odio14
Dapibus ac facilisis in2
Morbi leo risus1
Waxyaabaha gaarka ah
Ku dar ku dhawaad HTML kasta, xitaa kooxaha liiska ku xiran sida kan hoose, iyadoo la kaashanayo flexbox utilities .
Isticmaal tab JavaScript plugin-ku dar si gaar ah ama iyada oo loo marayo bootstrap.jsfaylka la soo ururiyey-si loo kordhiyo kooxdayada liiska si aan u abuurno muraayado la taaban karo oo ka kooban gudaha.
Velit aute mollit ipsum ad dolor consectetur nulla officia culpa adipisicing jimicsiga fugiat tempor. Voluptate deserunt sit sunt nisi aliqua fugiat proident ea ut. Mollit voluptate reprehenderit occaecat nisi iyo wax yar oo ku meel gaar ah sunt voluptate consectetur jimicsi id ut nulla. Ea et fugiat aliquip nostrud sunt inciddunt consectetur culpa aliquip eiusmod dolor. Anim ad Lorem aliqua in cupidatat nisi enim eu nostrud do aliquip veniam minim.
Cupidatat quis ad sint excepteur laborum in esse qui. Et excepteur consectetur ex nisi eu do cillum ad laborum. Mollit et eu officia dolore sunt Lorem culpa qui commodo velit ex amet id ex. Officia anim incididunt laboris deserunt anim aute dolor incididunt veniam aute dolore do exercitation. Dolor nisi culpa ex ad irure in elit eu dolore. Ad laboris ipsum reprehenderit irure non commodo enim culpa commodo veniam incididunt veniam ad.
Ut ut do pariatur aliquip aliqua aliquip exercitation do nostrud commodo reprehenderit aute ipsum voluptate. Irure Lorem et laboris nostrud amet cupidatat cupidatat anim do ut velit mollit consequat enim tempor. Consectetur est minim nostrud nostrud consectetur irure labore voluptate irure. Ipsum id Lorem sit sint voluptate est pariatur eu ad cupidatat et deserunt culpa sit eiusmod deserunt. Consectetur et fugiat anim do eiusmod aliquip nulla laborum elit adipisicing pariatur cillum.
Irure enim occaecat labore sit qui aliquip reprehenderit amet velit. Deserunt ullamco ex elit nostrud ut dolore nisi officia magna sit occaecat laboris sunt dolor. Nisi eu minim cillum occaecat aute est cupidatat aliqua labore aute occaecat ea aliquip sunt amet. Aute mollit dolor ut exercitation irure commodo non amet consectetur quis amet culpa. Quis ullamco nisi amet qui aute irure eu. Magna labore dolor quis ex labore id nostrud deserunt dolor eiusmod eu pariatur culpa mollit in irure.
Isticmaalka sifooyinka xogta
You can activate a list group navigation without writing any JavaScript by simply specifying data-toggle="list" or on an element. Use these data attributes on .list-group-item.
Via JavaScript
Enable tabbable list item via JavaScript (each list item needs to be activated individually):
You can activate individual list item in several ways:
Fade effect
To make tabs panel fade in, add .fade to each .tab-pane. The first tab pane must also have .show to make the initial content visible.
Methods
$().tab
Activates a list item element and content container. Tab should have either a data-target or an href targeting a container node in the DOM.
.tab(‘show’)
Selects the given list item and shows its associated pane. Any other list item that was previously selected becomes unselected and its associated pane is hidden. Returns to the caller before the tab pane has actually been shown (for example, before the shown.bs.tab event occurs).
Events
When showing a new tab, the events fire in the following order:
hide.bs.tab (on the current active tab)
show.bs.tab (on the to-be-shown tab)
hidden.bs.tab (on the previous active tab, the same one as for the hide.bs.tab event)
shown.bs.tab (on the newly-active just-shown tab, the same one as for the show.bs.tab event)
If no tab was already active, the hide.bs.tab and hidden.bs.tab events will not be fired.
Event type
Description
show.bs.tab
This event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
shown.bs.tab
This event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
hide.bs.tab
This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden). Use event.target and event.relatedTarget to target the current active tab and the new soon-to-be-active tab, respectively.
hidden.bs.tab
This event fires after a new tab is shown (and thus the previous active tab is hidden). Use event.target and event.relatedTarget to target the previous active tab and the new active tab, respectively.