flickity slider asNavFor property fix (#31633)

flickity slider's definition for `asNavFor` property may be string *or* HTMLElement proper to its documentation.
Please take a look at https://flickity.metafizzy.co/options.html#asnavfor for further information
This commit is contained in:
Emre
2018-12-31 19:59:14 +03:00
committed by Wesley Wigham
parent ece03cde44
commit d4bc37efcf

View File

@@ -457,7 +457,7 @@ interface FlickityOptions {
*
* default: disabled
*/
asNavFor?: string;
asNavFor?: string | HTMLElement;
/**
* The number of pixels a mouse or touch has to move before dragging begins. Increase dragThreshold to allow for more wiggle room for vertical page scrolling on touch devices.