WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
FloatingToolbarManager
Interface FloatingToolbarManager
interface
FloatingToolbarManager
{
addItem
(
item
:
FloatingToolbarItem
)
:
void
;
addItems
(
items
:
FloatingToolbarItem
[]
)
:
void
;
removeItem
(
id
:
string
)
:
void
;
updateItem
(
id
:
string
,
updates
:
Partial
<
FloatingToolbarItem
>
)
:
void
;
show
()
:
void
;
hide
()
:
void
;
close
()
:
void
;
destroy
()
:
void
;
resetPosition
()
:
void
;
isVisible
:
boolean
;
}
Index
Properties
is
Visible
Methods
add
Item
add
Items
remove
Item
update
Item
show
hide
close
destroy
reset
Position
Properties
Readonly
is
Visible
isVisible
:
boolean
Methods
add
Item
addItem
(
item
:
FloatingToolbarItem
)
:
void
Parameters
item
:
FloatingToolbarItem
Returns
void
add
Items
addItems
(
items
:
FloatingToolbarItem
[]
)
:
void
Parameters
items
:
FloatingToolbarItem
[]
Returns
void
remove
Item
removeItem
(
id
:
string
)
:
void
Parameters
id
:
string
Returns
void
update
Item
updateItem
(
id
:
string
,
updates
:
Partial
<
FloatingToolbarItem
>
)
:
void
Parameters
id
:
string
updates
:
Partial
<
FloatingToolbarItem
>
Returns
void
show
show
()
:
void
Returns
void
hide
hide
()
:
void
Returns
void
close
close
()
:
void
Returns
void
destroy
destroy
()
:
void
Returns
void
reset
Position
resetPosition
()
:
void
Clear cached position and revert to the initial position from options
Returns
void
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Properties
is
Visible
Methods
add
Item
add
Items
remove
Item
update
Item
show
hide
close
destroy
reset
Position
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
Clear cached position and revert to the initial position from options