File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
src/app/views/buttons/dropdowns Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 477477 </ c-card-body >
478478 </ c-card >
479479 </ c-col >
480+ < c-col xs ="12 ">
481+ < c-card class ="mb-4 ">
482+ < c-card-header ngPreserveWhitespaces >
483+ < strong > Angular Dropdown</ strong > < small > Centered</ small >
484+ </ c-card-header >
485+ < c-card-body >
486+ < p class ="text-medium-emphasis small ">
487+ Trigger dropdown menus centered below the toggle by adding < code > direction="center"</ code > to the < code > c-dropdown</ code > component.
488+ </ p >
489+ < app-docs-example href ="components/dropdown#centered ">
490+ < c-dropdown direction ="center " variant ="btn-group ">
491+ < button cButton cDropdownToggle color ="secondary "> Centered dropdown</ button >
492+ < ul cDropdownMenu >
493+ < li > < button cDropdownItem > Action one</ button > </ li >
494+ < li > < button cDropdownItem > Action two</ button > </ li >
495+ < li > < button cDropdownItem > Action three</ button > </ li >
496+ </ ul >
497+ </ c-dropdown >
498+ < c-dropdown direction ="dropup-center " class ="dropup " variant ="btn-group ">
499+ < button cButton cDropdownToggle color ="secondary "> Centered dropdup</ button >
500+ < ul cDropdownMenu >
501+ < li > < button cDropdownItem > Action one</ button > </ li >
502+ < li > < button cDropdownItem > Action two</ button > </ li >
503+ < li > < button cDropdownItem > Action three</ button > </ li >
504+ </ ul >
505+ </ c-dropdown >
506+ </ app-docs-example >
507+ </ c-card-body >
508+ </ c-card >
509+ </ c-col >
480510</ c-row >
You can’t perform that action at this time.
0 commit comments