mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
feat: shell node add isRGLContainer API (#1190)
* feat: shell node add isRGLContainer API
This commit is contained in:
parent
b33cd1be88
commit
55365194e9
@ -124,9 +124,7 @@ export default class Node {
|
||||
/**
|
||||
* judge if it is a node or not
|
||||
*/
|
||||
get isNode() {
|
||||
return true;
|
||||
}
|
||||
readonly isNode = true;
|
||||
|
||||
/**
|
||||
* 获取当前节点的锁定状态
|
||||
@ -476,6 +474,19 @@ export default class Node {
|
||||
remove() {
|
||||
this[nodeSymbol].remove();
|
||||
}
|
||||
/**
|
||||
* 设置为磁贴布局节点
|
||||
*/
|
||||
set isRGLContainer(flag: boolean) {
|
||||
this[nodeSymbol].isRGLContainer = flag;
|
||||
}
|
||||
/**
|
||||
* 获取磁贴布局节点设置状态
|
||||
* @returns Boolean
|
||||
*/
|
||||
get isRGLContainer() {
|
||||
return this[nodeSymbol].isRGLContainer;
|
||||
}
|
||||
|
||||
internalToShellNode() {
|
||||
return this;
|
||||
|
||||
8997
pnpm-lock.yaml
generated
Normal file
8997
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user