UNPKG

admob-plus-cordova

Version:

Trustable Google AdMob Cordova Plugin, successor of cordova-plugin-admob-free. Unlike some Cordova AdMob plugins, no ad-sharing, free to use. TypeScript friendly. Compatible with Ionic. admob-plus-cordova is one of the most popular Cordova AdMob plugins.

20 lines (19 loc) 533 B
import { MobileAd, type MobileAdOptions } from "./base"; type ShowOptions = { x: number; y: number; width: number; height: number; }; export interface NativeAdOptions extends MobileAdOptions { view?: string; } export declare class NativeAd extends MobileAd<NativeAdOptions> { static readonly cls = "NativeAd"; isLoaded(): Promise<boolean>; hide(): Promise<unknown>; load(): Promise<void>; show(opts?: ShowOptions): Promise<unknown>; showWith(elm: HTMLElement): Promise<void>; } export {};