We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
destroy
1 parent ad12506 commit 4b64ecbCopy full SHA for 4b64ecb
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@jawg/types",
3
- "version": "1.0.3",
+ "version": "1.0.4",
4
"description": "Shared TypeScript definitions for Jawg Maps projects",
5
"types": "./index.d.ts",
6
"typeScriptVersion": "2.3",
src/places-js.d.ts
@@ -41,6 +41,11 @@ declare class AbstractPlaces {
41
* Close the result list.
42
*/
43
close(): void;
44
+ /**
45
+ * Clear created DOM elements and listeners.
46
+ * This could be usefull when you recreate a JawgPlace object for the same input.
47
+ */
48
+ destroy(): void;
49
}
50
51
declare namespace JawgPlaces {
0 commit comments