@cesdk/node 1.63.0-nightly.20251019 → 1.63.0-nightly.20251021
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/assets/core/{cesdk-v1.63.0-nightly.20251019-TL27OROC.wasm → cesdk-v1.63.0-nightly.20251021-EYAGBAX3.wasm} +0 -0
- package/index.d.ts +22 -0
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.63.0-nightly.20251019-44YCFRT6.data → cesdk-v1.63.0-nightly.20251021-44YCFRT6.data} +0 -0
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -6663,6 +6663,28 @@ export declare class EditorAPI {
|
|
|
6663
6663
|
* @param enabled - Whether or not the block should show highlighting when selected or hovered.
|
|
6664
6664
|
*/
|
|
6665
6665
|
setHighlightingEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
6666
|
+
/**
|
|
6667
|
+
* Checks whether the block can currently be selected.
|
|
6668
|
+
*
|
|
6669
|
+
* ```javascript
|
|
6670
|
+
* const selectionIsEnabled = engine.editor.isSelectionEnabled(block);
|
|
6671
|
+
* ```
|
|
6672
|
+
*
|
|
6673
|
+
* @param id - The block to query.
|
|
6674
|
+
* @returns True if selection is enabled, false otherwise.
|
|
6675
|
+
*/
|
|
6676
|
+
isSelectionEnabled(id: DesignBlockId): boolean;
|
|
6677
|
+
/**
|
|
6678
|
+
* Enable or disable selection for a block.
|
|
6679
|
+
*
|
|
6680
|
+
* ```javascript
|
|
6681
|
+
* engine.editor.setSelectionEnabled(block, true);
|
|
6682
|
+
* ```
|
|
6683
|
+
*
|
|
6684
|
+
* @param id - The block to update.
|
|
6685
|
+
* @param enabled - Whether the block should be selectable.
|
|
6686
|
+
*/
|
|
6687
|
+
setSelectionEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
6666
6688
|
}
|
|
6667
6689
|
|
|
6668
6690
|
/**
|