UNPKG

cordova-plugin-qonversion

Version:
23 lines (19 loc) 656 B
import {ScreenPresentationStyle} from './enums'; export class ScreenPresentationConfig { /** * Describes how screens will be displayed. * For mode details see the enum description. */ presentationStyle: ScreenPresentationStyle; /** * iOS only. For Android consider using {@link ScreenPresentationStyle.NO_ANIMATION}. * * Describes whether should transaction be animated or not. * Default value is true. */ animated: boolean; constructor(presentationStyle: ScreenPresentationStyle, animated?: boolean) { this.presentationStyle = presentationStyle; this.animated = animated === undefined ? true : animated; } }