@ideal-postcodes/address-finder
Version:
Address Finder JS library backed by the Ideal Postcodes UK address search API
21 lines (20 loc) • 451 B
TypeScript
import { Controller } from "./controller";
/**
* Injects CSS style into DOM
*
* Idempotent
*
* @hidden
*/
export declare const addStyle: (c: Controller) => undefined | HTMLStyleElement | HTMLLinkElement;
interface Offset {
marginTop: string;
}
interface Empty {
}
/**
* Returns a negative offset which can be used to correctly align input box
* @hidden
*/
export declare const computeOffset: (c: Controller) => Offset | Empty;
export {};