File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ export default {
100100 this .refreshToPage ();
101101 },
102102 fromPage_ (val ) {
103- this .$emit (' update:fromPage ' , val);
103+ this .$emit (' update:frompage ' , val);
104104 if (! pageIsBeforePage (val, this .toPage_ )) {
105105 this .toPage_ = getNextPage (val);
106106 }
107107 },
108108 toPage_ (val ) {
109- this .$emit (' update:toPage ' , val);
109+ this .$emit (' update:topage ' , val);
110110 if (! pageIsAfterPage (val, this .fromPage_ )) {
111111 this .fromPage_ = getPrevPage (val);
112112 }
Original file line number Diff line number Diff line change @@ -170,21 +170,21 @@ export default {
170170 Math .abs (state .x - state .startX ) <= defaults .maxTapTolerance &&
171171 Math .abs (state .y - state .startY ) <= defaults .maxTapTolerance ;
172172 if (state .tapDetected ) {
173- this .$emit (' daySelect ' , this .dayInfo , this .attributesMap );
173+ this .$emit (' dayselect ' , this .dayInfo , this .attributesMap );
174174 }
175175 state .started = false ;
176176 },
177177 click () {
178178 if (this .touchState && this .touchState .tapDetected ) return ;
179- this .$emit (' daySelect ' , this .dayInfo , this .attributesMap );
179+ this .$emit (' dayselect ' , this .dayInfo , this .attributesMap );
180180 },
181181 mouseenter () {
182182 this .isHovered = true ;
183- this .$emit (' dayMouseEnter ' , this .dayInfo , this .attributesMap );
183+ this .$emit (' daymouseenter ' , this .dayInfo , this .attributesMap );
184184 },
185185 mouseleave () {
186186 this .isHovered = false ;
187- this .$emit (' dayMouseLeave ' , this .dayInfo , this .attributesMap );
187+ this .$emit (' daymouseleave ' , this .dayInfo , this .attributesMap );
188188 },
189189 processAttributes () {
190190 const backgrounds = [];
Original file line number Diff line number Diff line change @@ -153,10 +153,10 @@ export default {
153153 this .toPage_ = val;
154154 },
155155 fromPage_ (val ) {
156- this .$emit (' update:fromPage ' , val);
156+ this .$emit (' update:frompage ' , val);
157157 },
158158 toPage_ (val ) {
159- this .$emit (' update:toPage ' , val);
159+ this .$emit (' update:topage ' , val);
160160 },
161161 mode () {
162162 // Clear value on select mode change
@@ -184,8 +184,8 @@ export default {
184184 filteredListeners () {
185185 // Remove parent listeners that we want to intercept and re-broadcast
186186 const listeners = { ... this .$listeners };
187- delete listeners[' update:fromPage ' ];
188- delete listeners[' update:toPage ' ];
187+ delete listeners[' update:frompage ' ];
188+ delete listeners[' update:topage ' ];
189189 return listeners;
190190 },
191191 popoverDidDisappear () {
You can’t perform that action at this time.
0 commit comments