@maptiler/geocoding-control 0.0.95 → 0.0.96-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types.d.ts CHANGED
@@ -158,6 +158,12 @@ export type ControlOptions = {
158
158
  * @default false
159
159
  */
160
160
  enableReverse?: boolean | "always";
161
+ /**
162
+ * Toggle reverse mode.
163
+ *
164
+ * @default false
165
+ */
166
+ reverseActive?: boolean;
161
167
  /**
162
168
  * Reverse toggle button title.
163
169
  *
package/vanilla.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ import type { ControlOptions, MapController } from "./types";
2
+ type Options = ControlOptions & {
3
+ mapController?: MapController;
4
+ };
5
+ export declare class GeocodingControl extends EventTarget {
6
+ #private;
7
+ constructor({ target, ...options }: Options & {
8
+ target: HTMLElement;
9
+ });
10
+ setOptions(options: Partial<Options>): void;
11
+ setQuery(value: string, submit?: boolean): void;
12
+ focus(): void;
13
+ blur(): void;
14
+ }
15
+ export {};