This repository was archived by the owner on Apr 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ renderWithId('mosaic-1-1');
7373* ` selector ` (string / * optional* ) DOM selector which define each element (default ` li ` )
7474* ` focusedElementId ` (string / * optional* ) id to define the element focused (first element by default)
7575* ` context ` (object / * optional* ) context object passed within every callback
76+ * ` exitStrategy ` (string / * optional* ) define strape strategy : ` memory ` / ` none ` (default ` none ` )
7677* ` accuracy ` (number / * optional* ) give tolerance for elements calculation, useful when your elements are not well aligned (default ` O ` )
7778* ` onRight ` (function / * optional* ) callback for right events ` function(nextElement, {context}) `
7879* ` onLeft ` (function / * optional* ) callback for left events ` function(nextElement, {context}) `
@@ -91,7 +92,7 @@ renderWithId('mosaic-1-1');
9192* ` wrapper ` (string / * optional* ) DOM selector which define parent element (default ` ul ` )
9293* ` wChildren ` (string / * optional* ) DOM selector which define children elements (default ` li ` )
9394* ` strategy ` (string / * optional* ) define strape strategy : ` progressive ` / ` cut ` / ` bounds ` (default ` progressive ` )
94- * ` exitStrategy ` (string / * optional* ) define strape strategy : ` start ` / ` mirror ` / ` none ` (default ` none ` )
95+ * ` exitStrategy ` (string / * optional* ) define strape strategy : ` start ` / ` mirror ` / ` memory ` / ` none ` (default ` none ` )
9596* ` circular ` (boolean / * optional* ) define if strape has no boundaries (default ` false ` )
9697* ` gap ` (number / * optional* ) reduce or increase elements margin (default ` 0 ` )
9798* ` lastGap ` (number / * optional* ) reduce or increase last element margin (default ` 0 ` )
You can’t perform that action at this time.
0 commit comments