File tree 4 files changed +21
-11
lines changed
app/views/buttons/dropdowns
4 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 271
271
</ c-nav-item >
272
272
< c-nav-item >
273
273
< c-dropdown variant ="nav-item " [popper] ="false ">
274
- < a routerLink =" ./ " cDropdownToggle >
274
+ < a cNavLink cDropdownToggle >
275
275
Dropdown
276
276
</ a >
277
277
< ul cDropdownMenu dark >
484
484
</ c-card-header >
485
485
< c-card-body >
486
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.
487
+ Trigger dropdown menus centered below the toggle by adding < code > direction="center"</ code > to the < code > c-dropdown</ code >
488
+ component.
488
489
</ p >
489
490
< app-docs-example href ="components/dropdown#centered ">
490
491
< c-dropdown direction ="center " variant ="btn-group ">
491
492
< button cButton cDropdownToggle color ="secondary "> Centered dropdown</ button >
492
493
< 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 >
494
+ < li >
495
+ < button cDropdownItem > Action one</ button >
496
+ </ li >
497
+ < li >
498
+ < button cDropdownItem > Action two</ button >
499
+ </ li >
500
+ < li >
501
+ < button cDropdownItem > Action three</ button >
502
+ </ li >
496
503
</ ul >
497
504
</ c-dropdown >
498
505
< c-dropdown direction ="dropup-center " class ="dropup " variant ="btn-group ">
499
506
< button cButton cDropdownToggle color ="secondary "> Centered dropdup</ button >
500
507
< 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 >
508
+ < li >
509
+ < button cDropdownItem > Action one</ button >
510
+ </ li >
511
+ < li >
512
+ < button cDropdownItem > Action two</ button >
513
+ </ li >
514
+ < li >
515
+ < button cDropdownItem > Action three</ button >
516
+ </ li >
504
517
</ ul >
505
518
</ c-dropdown >
506
519
</ app-docs-example >
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { Component } from '@angular/core';
3
3
@Component ( {
4
4
selector : 'app-dropdowns' ,
5
5
templateUrl : './dropdowns.component.html' ,
6
- styleUrls : [ './dropdowns.component.scss' ]
7
6
} )
8
7
export class DropdownsComponent {
9
8
Original file line number Diff line number Diff line change 1
- declare module '@coreui/chartjs/dist/js/coreui-chartjs.js' ;
2
-
3
1
declare module '*.json' {
4
2
const value : any ;
5
3
export default value ;
You can’t perform that action at this time.
0 commit comments