@nativescript-community/ui-popover
Version:
Popover plugn
16 lines (15 loc) • 709 B
TypeScript
import { View } from '@nativescript/core';
import { PopoverOptions } from '.';
export * from './index.common';
declare class PopoverViewController extends UIViewController {
owner: WeakRef<View>;
nBackgroundColor: UIColor;
static initWithOwner(owner: WeakRef<View>): PopoverViewController;
loadView(): void;
viewDidLoad(): void;
viewWillAppear(animated: boolean): void;
}
export declare function showPopover(view: View, { anchor, vertPos, horizPos, x, y, fitInScreen, transparent, onDismiss, outsideTouchable, backgroundColor, canOverlapSourceViewRect, passthroughViews, context, hideArrow }: PopoverOptions): {
ios: PopoverViewController;
close: (r: any) => Promise<void>;
};