WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
BlocksPalette
Class BlocksPalette
块面板组件 - 块管理面板
Hierarchy
BasePanelComponent
BlocksPalette
Index
Constructors
constructor
Properties
panel
Id
name
mark
caption
src
is
Active
blocks
styles
render
Root
Accessors
blocks
Table
Ele
observed
Attributes
update
Complete
Methods
first
Updated
set
Blocks
update
Blocks
regen
insert
Block
is
Purgerable_
block
purge
Block
sort
Block
render
add
Initializer
create
Property
get
Property
Descriptor
get
Property
Options
_
$
Ei
finalize
finalize
Styles
_
$
Eu
_
$
Ev
add
Controller
remove
Controller
_
$
E_
enable
Updating
attribute
Changed
Callback
_
$
EC
_
$
AK
request
Update
P
_
$
ET
schedule
Update
perform
Update
will
Update
_
$
AE
_
$
EU
get
Update
Complete
should
Update
updated
create
Render
Root
update
connected
Callback
disconnected
Callback
Constructors
constructor
new
BlocksPalette
()
:
BlocksPalette
构造函数
Returns
BlocksPalette
Properties
panel
Id
panelId
:
number
name
name
:
string
mark
mark
:
string
caption
caption
:
string
src
src
:
string
is
Active
isActive
:
boolean
blocks
blocks
:
any
Static
styles
styles
:
r
= ...
render
Root
renderRoot
:
any
Accessors
blocks
Table
Ele
get
blocksTableEle
()
:
any
获取块表格元素
Returns
any
Static
observed
Attributes
get
observedAttributes
()
:
any
[]
Returns
any
[]
update
Complete
get
updateComplete
()
:
any
Returns
any
Methods
first
Updated
firstUpdated
()
:
void
首次更新完成回调
Returns
void
set
Blocks
setBlocks
(
t
:
any
)
:
void
设置块
Parameters
t
:
any
块集合
Returns
void
update
Blocks
updateBlocks
(
t
:
any
)
:
void
更新块
Parameters
t
:
any
块集合
Returns
void
regen
regen
()
:
void
重新生成 - 刷新面板显示
Returns
void
insert
Block
insertBlock
()
:
Promise
<
void
>
插入块 - 插入选中的块
Returns
Promise
<
void
>
is
Purgerable_
block
isPurgerable_block
(
t
:
any
)
:
boolean
Parameters
t
:
any
Returns
boolean
purge
Block
purgeBlock
()
:
Promise
<
void
>
Returns
Promise
<
void
>
sort
Block
sortBlock
()
:
void
Returns
void
render
render
()
:
any
Returns
any
Static
add
Initializer
addInitializer
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
Static
create
Property
createProperty
(
t
:
any
,
e
?:
{
attribute
:
boolean
;
type
:
StringConstructor
;
converter
:
{
toAttribute
(
t
:
any
,
e
:
any
)
:
any
;
fromAttribute
(
t
:
any
,
e
:
any
)
:
any
;
}
;
reflect
:
boolean
;
hasChanged
:
(
t
:
any
,
e
:
any
)
=>
boolean
;
}
,
)
:
void
Parameters
t
:
any
e
:
{
attribute
:
boolean
;
type
:
StringConstructor
;
converter
:
{
toAttribute
(
t
:
any
,
e
:
any
)
:
any
;
fromAttribute
(
t
:
any
,
e
:
any
)
:
any
;
}
;
reflect
:
boolean
;
hasChanged
:
(
t
:
any
,
e
:
any
)
=>
boolean
;
}
= y
Returns
void
Static
get
Property
Descriptor
getPropertyDescriptor
(
t
:
any
,
e
:
any
,
s
:
any
,
)
:
{
get
()
:
any
;
set
(
e
:
any
)
:
void
;
configurable
:
boolean
;
enumerable
:
boolean
;
}
Parameters
t
:
any
e
:
any
s
:
any
Returns
{
get
()
:
any
;
set
(
e
:
any
)
:
void
;
configurable
:
boolean
;
enumerable
:
boolean
}
Static
get
Property
Options
getPropertyOptions
(
t
:
any
)
:
any
Parameters
t
:
any
Returns
any
Static
_
$
Ei
_$Ei
()
:
void
Returns
void
Static
finalize
finalize
()
:
void
Returns
void
Static
finalize
Styles
finalizeStyles
(
t
:
any
)
:
any
[]
Parameters
t
:
any
Returns
any
[]
Static
_
$
Eu
_$Eu
(
t
:
any
,
e
:
any
)
:
string
Parameters
t
:
any
e
:
any
Returns
string
_
$
Ev
_$Ev
()
:
void
Returns
void
add
Controller
addController
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
remove
Controller
removeController
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
_
$
E_
_$E_
()
:
void
Returns
void
enable
Updating
enableUpdating
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
attribute
Changed
Callback
attributeChangedCallback
(
t
:
any
,
e
:
any
,
s
:
any
)
:
void
Parameters
t
:
any
e
:
any
s
:
any
Returns
void
_
$
EC
_$EC
(
t
:
any
,
e
:
any
)
:
void
Parameters
t
:
any
e
:
any
Returns
void
_
$
AK
_$AK
(
t
:
any
,
e
:
any
)
:
void
Parameters
t
:
any
e
:
any
Returns
void
request
Update
requestUpdate
(
t
?:
any
,
e
?:
any
,
s
?:
any
)
:
void
Parameters
Optional
t
:
any
Optional
e
:
any
Optional
s
:
any
Returns
void
P
P
(
t
:
any
,
e
:
any
,
s
:
any
)
:
void
Parameters
t
:
any
e
:
any
s
:
any
Returns
void
_
$
ET
_$ET
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
schedule
Update
scheduleUpdate
()
:
void
Returns
void
perform
Update
performUpdate
()
:
void
Returns
void
will
Update
willUpdate
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
_
$
AE
_$AE
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
_
$
EU
_$EU
()
:
void
Returns
void
get
Update
Complete
getUpdateComplete
()
:
any
Returns
any
should
Update
shouldUpdate
(
t
:
any
)
:
boolean
Parameters
t
:
any
Returns
boolean
updated
updated
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
create
Render
Root
createRenderRoot
()
:
ShadowRoot
Returns
ShadowRoot
update
update
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
connected
Callback
connectedCallback
()
:
void
Returns
void
disconnected
Callback
disconnectedCallback
()
:
void
Returns
void
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
panel
Id
name
mark
caption
src
is
Active
blocks
styles
render
Root
Accessors
blocks
Table
Ele
observed
Attributes
update
Complete
Methods
first
Updated
set
Blocks
update
Blocks
regen
insert
Block
is
Purgerable_
block
purge
Block
sort
Block
render
add
Initializer
create
Property
get
Property
Descriptor
get
Property
Options
_
$
Ei
finalize
finalize
Styles
_
$
Eu
_
$
Ev
add
Controller
remove
Controller
_
$
E_
enable
Updating
attribute
Changed
Callback
_
$
EC
_
$
AK
request
Update
P
_
$
ET
schedule
Update
perform
Update
will
Update
_
$
AE
_
$
EU
get
Update
Complete
should
Update
updated
create
Render
Root
update
connected
Callback
disconnected
Callback
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
块面板组件 - 块管理面板