This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 3 files changed +381
-62
lines changed
3 files changed +381
-62
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,12 @@ license that can be found in the LICENSE file.
7
7
: host {
8
8
position: relative;
9
9
dis play: inline-block;
10
+ }
11
+
12
+ # dropdown {
13
+ margin : 12px ;
14
+ background : # fff ;
15
+ color : # 000 ;
16
+ border-radius : 3px ;
17
+ border : 1px solid # ccc ;
10
18
}
Original file line number Diff line number Diff line change 38
38
< link rel ="stylesheet " href ="core-menu-button.css ">
39
39
< core-icon-button id ="button " on-tap ="{{toggle}} " src ="{{src}} " icon ="{{icon}} " active ="{{opened}} "> < span > {{label}}</ span > </ core-icon-button >
40
40
< core-dropdown id ="dropdown " relatedTarget ="{{$.button}} " opened ="{{opened}} " halign ="{{halign}} " valign ="{{valign}} ">
41
- < core-menu selected ="{{selected}} " selectedItem ="{{selectedItem}} " selectedClass ="{{selectedClass}} " valueattr ="{{valueattr}} " on-core-select ="{{closeAction}} ">
41
+ < core-menu selected ="{{selected}} " selectedItem ="{{selectedItem}} " selectedClass ="{{selectedClass}} " valueattr ="{{valueattr}} " on-core-activate ="{{closeAction}} ">
42
42
< content select ="* "> </ content >
43
43
</ core-menu >
44
44
</ core-dropdown >
84
84
* @attribute halign
85
85
* @type string
86
86
*/
87
- halign : 'auto ' ,
87
+ halign : 'left ' ,
88
88
89
89
/**
90
90
* Display the overlay on top or below the button.
91
91
* @attribute valign
92
92
* @type string
93
93
*/
94
- valign : 'auto '
94
+ valign : 'top '
95
95
96
96
} ,
97
97
You can’t perform that action at this time.
0 commit comments