We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 971c2b6 commit bd3694bCopy full SHA for bd3694b
src/tooltip-ns.android.ts
@@ -56,7 +56,12 @@ export class TooltipNs {
56
if (options.android.fadeDuration) {
57
this.builder.fadeDuration(options.android.fadeDuration);
58
}
59
- this.builder.fitToScreen(false);
+
60
+ if (options.android.fitToScreen) {
61
+ this.builder.fitToScreen(true);
62
+ } else {
63
+ this.builder.fitToScreen(false);
64
+ }
65
66
if (options.android.width) {
67
this.builder.maxWidth(options.android.width);
src/tooltip-ns.common.ts
@@ -20,6 +20,7 @@ export interface Options {
20
delay?: number;
21
hideArrow?: boolean;
22
style?: string;
23
+ fitToScreen?: boolean;
24
};
25
26
0 commit comments