WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
FuncButtons
Class FuncButtons
功能按钮组类
Hierarchy (
View Summary
)
LitElement
FuncButtons
Index
Constructors
constructor
Properties
osnap
Button
gridmode
Button
orthomode
Button
polarmode
Button
plotarea
Toggle
theme
Button
styles
render
Root
Accessors
observed
Attributes
update
Complete
Methods
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
updated
create
Render
Root
update
connected
Callback
disconnected
Callback
Constructors
constructor
new
FuncButtons
()
:
FuncButtons
Returns
FuncButtons
Properties
osnap
Button
osnapButton
:
OsnapButton
gridmode
Button
gridmodeButton
:
GridModeButton
orthomode
Button
orthomodeButton
:
OrthoModeButton
polarmode
Button
polarmodeButton
:
PolarModeButton
plotarea
Toggle
plotareaToggle
:
any
theme
Button
themeButton
:
ThemeButton
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
first
Updated
firstUpdated
()
:
void
首次更新后回调
Returns
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
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
osnap
Button
gridmode
Button
orthomode
Button
polarmode
Button
plotarea
Toggle
theme
Button
styles
render
Root
Accessors
observed
Attributes
update
Complete
Methods
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
updated
create
Render
Root
update
connected
Callback
disconnected
Callback
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
功能按钮组类