File tree Expand file tree Collapse file tree 1 file changed +2
-54
lines changed Expand file tree Collapse file tree 1 file changed +2
-54
lines changed Original file line number Diff line number Diff line change 11import { Color , View } from '@nativescript/core' ;
22
3- export interface SnackBarOptions {
4- /**
5- * The action button text of the snackbar.
6- */
7- actionText ?: string ;
8-
9- /**
10- * The text of the snackbar.
11- */
12- message : string ;
13-
14- /**
15- * Delay to hide the snackbar.
16- */
17- hideDelay ?: number ;
18-
19- /**
20- * Action Text Color of the snackbar.
21- */
22- actionTextColor ?: string | Color ;
23-
24- /**
25- * Text Color of the snackbar.
26- */
27- textColor ?: string | Color ;
28-
29- /**
30- * Background Color of the snackbar.
31- */
32- backgroundColor ?: string | Color ;
33- /**
34- * *Android Only*
35- * Set the maxLines if you are displaying a long string of text and it will wrap.
36- */
37- maxLines ?: number ;
38-
39- /**
40- * *Android Only*
41- * Use RTL for textview of snackbar.
42- */
43- isRTL ?: boolean ;
44-
45- /**
46- * The View to which the snackbar will be attached. Useful with modals.
47- * Default to Frame.topmost().currentPage
48- */
49- view ?: View ;
50-
51- /**
52- * The view you want to "anchor the snack above".
53- * The snackbar will appear above that view
54- */
55- anchorView ?: View ;
56- }
3+ import { SnackBarOptions } from './' ;
4+ export { SnackBarOptions } from './' ;
575
586export enum DismissReasons {
597 SWIPE = 'swipe' ,
You can’t perform that action at this time.
0 commit comments