Skip to content

Commit

Permalink
Merge pull request ganlanyuan#490 from daphnesmit/feature/addLocalsto…
Browse files Browse the repository at this point in the history
…rageToTypes

Add useLocalStorage setting to typings
  • Loading branch information
ganlanyuan authored May 5, 2020
2 parents 865a6ed + 8cd88a0 commit 9daa41d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tiny-slider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ export interface TinySliderSettings extends CommonOptions {
* @defaultValue false
*/
onInit?: () => void | false;
/**
* Save browser capability variables to localStorage and without detecting them everytime the slider runs if set to true.
* @defaultValue true
*/
useLocalStorage?: boolean;
}

export interface TinySliderInfo {
Expand Down

0 comments on commit 9daa41d

Please sign in to comment.