WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
RibbonGroup
Class RibbonGroup
Ribbon 按钮组组件类
Hierarchy (
View Summary
)
LitElement
RibbonGroup
Index
Constructors
constructor
Properties
properties
group
Id
label
display
Mode
expanded
pinned
pinnable
primary
Buttons
more
Buttons
buttons
styles
render
Root
Accessors
observed
Attributes
update
Complete
Methods
from
Config
connected
Callback
disconnected
Callback
updated
first
Updated
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
create
Render
Root
update
Constructors
constructor
new
RibbonGroup
()
:
RibbonGroup
Returns
RibbonGroup
Properties
Static
properties
properties
:
{
groupId
:
{
type
:
StringConstructor
;
attribute
:
string
}
;
label
:
{
type
:
StringConstructor
}
;
displayMode
:
{
type
:
StringConstructor
;
attribute
:
string
}
;
expanded
:
{
type
:
BooleanConstructor
}
;
pinned
:
{
type
:
BooleanConstructor
}
;
pinnable
:
{
type
:
BooleanConstructor
}
;
primaryButtons
:
{
type
:
ArrayConstructor
}
;
moreButtons
:
{
type
:
ArrayConstructor
}
;
buttons
:
{
type
:
ArrayConstructor
}
;
}
= ...
定义响应式属性
group
Id
groupId
:
string
label
label
:
string
display
Mode
displayMode
:
RibbonGroupDisplayMode
expanded
expanded
:
boolean
pinned
pinned
:
boolean
pinnable
pinnable
:
boolean
primary
Buttons
primaryButtons
:
RibbonButtonConfig
[]
more
Buttons
moreButtons
:
RibbonButtonConfig
[]
buttons
buttons
:
RibbonButtonConfig
[]
Static
styles
styles
:
r
= ...
组件样式
render
Root
renderRoot
:
any
Accessors
Static
observed
Attributes
get
observedAttributes
()
:
any
[]
Returns
any
[]
update
Complete
get
updateComplete
()
:
any
Returns
any
Methods
Static
from
Config
fromConfig
(
config
:
RibbonGroupConfig
)
:
RibbonGroup
从配置对象初始化组
Parameters
config
:
RibbonGroupConfig
Returns
RibbonGroup
connected
Callback
connectedCallback
()
:
void
Returns
void
disconnected
Callback
disconnectedCallback
()
:
void
Returns
void
updated
updated
(
changedProperties
:
Map
<
string
,
any
>
)
:
void
Parameters
changedProperties
:
Map
<
string
,
any
>
Returns
void
first
Updated
firstUpdated
()
:
Promise
<
void
>
首次更新完成后的回调 - 初始化图层模式的下拉组件
Returns
Promise
<
void
>
render
render
()
:
{
_$litType$
:
any
;
strings
:
any
;
values
:
any
[]
}
渲染组件
Returns
{
_$litType$
:
any
;
strings
:
any
;
values
:
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
create
Render
Root
createRenderRoot
()
:
ShadowRoot
Returns
ShadowRoot
update
update
(
t
:
any
)
:
void
Parameters
t
:
any
Returns
void
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
properties
group
Id
label
display
Mode
expanded
pinned
pinnable
primary
Buttons
more
Buttons
buttons
styles
render
Root
Accessors
observed
Attributes
update
Complete
Methods
from
Config
connected
Callback
disconnected
Callback
updated
first
Updated
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
create
Render
Root
update
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
Ribbon 按钮组组件类