File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
this . stars = ShadowDOM . localQueryAll ( inRoot , ".star" ) ;
22
22
} ,
23
23
created : function ( ) {
24
- this . valueAttributeChanged ( ) ;
24
+ this . valueChanged ( ) ;
25
25
} ,
26
26
prototype : {
27
- valueAttributeChanged : function ( ) {
27
+ valueChanged : function ( ) {
28
28
for ( var i = 0 , s ; s = this . stars [ i ] ; i ++ ) {
29
29
s . classList . toggle ( 'full' , i < Number ( this . value ) ) ;
30
30
}
Original file line number Diff line number Diff line change 9
9
< link rel ="components " href ="g-component.html ">
10
10
< link rel ="components " href ="g-selection.html ">
11
11
< template >
12
- < g-selection id ="selection " atselect ="selectionSelect " atdeselect ="selectionDeselect "> </ g-selection >
12
+ < g-selection id ="selection " on-select ="selectionSelect " on-deselect ="selectionDeselect "> </ g-selection >
13
13
< content id ="items "> </ content >
14
14
</ template >
15
15
< script >
23
23
// this.childNodes is LightDOM fallback which works unless we
24
24
// are composited (in that case childNodes = <content>, and
25
25
// distributeNodes is necessary to find the actual distributions)
26
- return this . $ . items . distributedNodes ||
26
+ return this . $ . items . getDistributedNodes ( ) ||
27
27
Array . prototype . slice . call ( this . childNodes , 0 ) ;
28
28
} ,
29
29
_valueToIndex : function ( inValue ) {
You can’t perform that action at this time.
0 commit comments