Tiny-slider: 'navPosition' is missing in .d.ts file

Created on 30 Oct 2018  路  6Comments  路  Source: ganlanyuan/tiny-slider

__Issue description__:
The navPosition option in tiny-slider exists, but TypeScript gives an error as navPosition does not exist in the .d.ts file

__Demo link/slider setting__:

_Tiny-slider version_: master 2.8.7
_Browser name && version_: N/A
_OS name && version_: Windows 10

Most helpful comment

The navPosition is still missing in v2.9.2 :confused:

All 6 comments

@rbozan I believe you need to use version 2.8.8

Hi, I confirm the issue is still there on v2.8.8
navPosition is missing

The navPosition is still missing in v2.9.2 :confused:

The issue is still there in v2.9.2

Issue while using like:

this.slider = tns({
    container: '.hga-slider',
    items: 1,
    autoplay: false,
    controls: false,
    navPosition: 'bottom',
        autoHeight: true
});

fixed it by using it like:

// initialize slider
const config = {
    container: '.hga-slider',
    items: 1,
    autoplay: false,
    controls: false,
    navPosition: 'bottom',
    autoHeight: true
};
this.slider = tns(config);

Seems to be fixed with PR #449
Could someone create a new release?

Was this page helpful?
0 / 5 - 0 ratings