File tree 1 file changed +32
-34
lines changed 1 file changed +32
-34
lines changed Original file line number Diff line number Diff line change 6
6
7
7
8
8
<script >
9
- export default {
10
- replace: true ,
11
- computed: {
12
- classObject () {
13
- return [
14
- ' navbar' ,
15
- this .type ? ` navbar-${ this .type } ` : ' ' ,
16
- this .variant ? ` bg-${ this .variant } ` : ' ' ,
17
- this .fixed ? ` navbar-fixed-${ this .fixed } ` : ' ' ,
18
- this .full ? ' navbar-full' : ' ' ,
19
- this .toggleable ? ' navbar-toggleable-md' : ' '
20
- ];
21
- }
22
- },
23
- props: {
24
- type: {
25
- type: String ,
26
- default: ' light'
27
- },
28
- variant: {
29
- type: String
30
- },
31
- toggleable: {
32
- type: Boolean ,
33
- default: false
9
+ export default {
10
+ replace: true ,
11
+ computed: {
12
+ classObject () {
13
+ return [
14
+ ' navbar' ,
15
+ this .type ? ` navbar-${ this .type } ` : ' ' ,
16
+ this .variant ? ` bg-${ this .variant } ` : ' ' ,
17
+ this .fixed ? ` fixed-${ this .fixed } ` : ' ' ,
18
+ this .sticky ? ' sticky-top' : ' ' ,
19
+ this .toggleable ? ' navbar-toggleable-md' : ' '
20
+ ];
21
+ }
34
22
},
35
- fixed: {
36
- type: String
37
- },
38
- full: {
39
- type: Boolean ,
40
- default: false
23
+ props: {
24
+ type: {
25
+ type: String ,
26
+ default: ' light'
27
+ },
28
+ variant: {
29
+ type: String
30
+ },
31
+ toggleable: {
32
+ type: Boolean ,
33
+ default: false
34
+ },
35
+ fixed: {
36
+ type: String
37
+ },
38
+ sticky: {
39
+ type: String
40
+ }
41
41
}
42
- }
43
- };
44
-
42
+ };
45
43
</script >
You can’t perform that action at this time.
0 commit comments