@markerjs/markerjs3 3.6.4 → 3.7.0
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/markerjs3.d.ts +21 -1
- package/markerjs3.js +1 -1
- package/markerjs3.js.map +1 -1
- package/package.json +1 -1
- package/umd/markerjs3.js +1 -1
- package/umd/markerjs3.js.map +1 -1
package/markerjs3.d.ts
CHANGED
|
@@ -1932,6 +1932,26 @@ declare class MarkerBaseEditor<TMarkerType extends MarkerBase = MarkerBase> {
|
|
|
1932
1932
|
* Does a check if the state has indeed changed before firing the handler.
|
|
1933
1933
|
*/
|
|
1934
1934
|
protected stateChanged(): void;
|
|
1935
|
+
/**
|
|
1936
|
+
* Hides all marker's visuals and editor controls.
|
|
1937
|
+
*
|
|
1938
|
+
* @remarks
|
|
1939
|
+
* This could be useful when you want to temporarily hide the marker so you can,
|
|
1940
|
+
* for example, create a new one in the same place. Reveal it later with {@link show}.
|
|
1941
|
+
*
|
|
1942
|
+
* @since 3.7.0
|
|
1943
|
+
*/
|
|
1944
|
+
hide(): void;
|
|
1945
|
+
/**
|
|
1946
|
+
* Shows all marker's visuals and editor controls.
|
|
1947
|
+
*
|
|
1948
|
+
* @remarks
|
|
1949
|
+
* This could be useful when you want to temporarily hide the marker (with {@link hide}) so you can,
|
|
1950
|
+
* for example, create a new one in the same place.
|
|
1951
|
+
*
|
|
1952
|
+
* @since 3.7.0
|
|
1953
|
+
*/
|
|
1954
|
+
show(): void;
|
|
1935
1955
|
/**
|
|
1936
1956
|
* Returns marker's state that can be restored in the future.
|
|
1937
1957
|
*
|
|
@@ -2279,7 +2299,7 @@ declare class MarkerArea extends HTMLElement {
|
|
|
2279
2299
|
* Deletes a marker represented by the specified editor.
|
|
2280
2300
|
* @param markerEditor
|
|
2281
2301
|
*/
|
|
2282
|
-
deleteMarker(markerEditor: MarkerBaseEditor): void;
|
|
2302
|
+
deleteMarker(markerEditor: MarkerBaseEditor, suppressUndo?: boolean): void;
|
|
2283
2303
|
/**
|
|
2284
2304
|
* Deselects all markers.
|
|
2285
2305
|
*/
|