Update TypeScript definitions to add isRTL & Direction CSS

pull/337/head
Amir hossein Karimi 3 years ago
parent 6758e12d32
commit 5adf31142e
No known key found for this signature in database
GPG Key ID: B25445C4146B0C1F

9
index.d.ts vendored

@ -69,6 +69,11 @@ export interface ShuffleOptions {
*/
isCentered?: boolean;
/**
* Whether to align grid items to the right in the row.
*/
isRTL?: boolean;
/**
* e.g. '.picture-item'.
*/
@ -139,6 +144,10 @@ export interface InlineCssStyles {
export interface ShuffleItemCss {
INITIAL: InlineCssStyles;
DIRECTION: {
ltr: InlineCssStyles;
rtl: InlineCssStyles;
};
VISIBLE: {
before: InlineCssStyles;
after: InlineCssStyles;

Loading…
Cancel
Save