|
@@ -40,13 +40,6 @@ export default ( Splide, Components, name ) => {
|
|
*/
|
|
*/
|
|
const root = Splide.root;
|
|
const root = Splide.root;
|
|
|
|
|
|
- /**
|
|
|
|
- * Store Elements component.
|
|
|
|
- *
|
|
|
|
- * @type {Object}
|
|
|
|
- */
|
|
|
|
- const Elements = Components.Elements;
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Arrows component object.
|
|
* Arrows component object.
|
|
*
|
|
*
|
|
@@ -59,7 +52,7 @@ export default ( Splide, Components, name ) => {
|
|
* @return {boolean} - True if the option is true or arrow elements were found.
|
|
* @return {boolean} - True if the option is true or arrow elements were found.
|
|
*/
|
|
*/
|
|
required: Splide.options.arrows
|
|
required: Splide.options.arrows
|
|
- || ( Elements.arrows && Elements.arrows.prev && Elements.arrows.next ),
|
|
|
|
|
|
+ || ( Components.Elements.arrows && Components.Elements.arrows.prev && Components.Elements.arrows.next ),
|
|
|
|
|
|
/**
|
|
/**
|
|
* Called when the component is mounted.
|
|
* Called when the component is mounted.
|