WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
DocumentTabItem
Class DocumentTabItem
文档标签项组件类
Hierarchy (
View Summary
)
LitElement
DocumentTabItem
Index
Constructors
constructor
Properties
properties
doc
Id
doc
Name
doc
Path
is
Active
is
Modified
show
Close
Button
enable
Drag
enable
Context
Menu
show
Context
Menu
styles
render
Root
Accessors
observed
Attributes
update
Complete
Methods
set
Context
Menu
Items
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
first
Updated
create
Render
Root
update
connected
Callback
disconnected
Callback
Constructors
constructor
new
DocumentTabItem
()
:
DocumentTabItem
Returns
DocumentTabItem
Properties
Static
properties
properties
:
{
docId
:
{
type
:
NumberConstructor
;
attribute
:
string
}
;
docName
:
{
type
:
StringConstructor
;
attribute
:
string
}
;
docPath
:
{
type
:
StringConstructor
;
attribute
:
string
}
;
isActive
:
{
type
:
BooleanConstructor
;
attribute
:
string
}
;
isModified
:
{
type
:
BooleanConstructor
;
attribute
:
string
}
;
showCloseButton
:
{
type
:
BooleanConstructor
;
attribute
:
string
}
;
enableDrag
:
{
type
:
BooleanConstructor
;
attribute
:
string
}
;
enableContextMenu
:
{
type
:
BooleanConstructor
;
attribute
:
string
}
;
showContextMenu
:
{
type
:
BooleanConstructor
}
;
}
= ...
定义响应式属性
doc
Id
docId
:
number
doc
Name
docName
:
string
doc
Path
docPath
:
string
is
Active
isActive
:
boolean
is
Modified
isModified
:
boolean
show
Close
Button
showCloseButton
:
boolean
enable
Drag
enableDrag
:
boolean
enable
Context
Menu
enableContextMenu
:
boolean
show
Context
Menu
showContextMenu
:
boolean
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
set
Context
Menu
Items
setContextMenuItems
(
items
:
TabContextMenuItem
[]
)
:
void
设置右键菜单项
Parameters
items
:
TabContextMenuItem
[]
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
first
Updated
firstUpdated
(
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
properties
doc
Id
doc
Name
doc
Path
is
Active
is
Modified
show
Close
Button
enable
Drag
enable
Context
Menu
show
Context
Menu
styles
render
Root
Accessors
observed
Attributes
update
Complete
Methods
set
Context
Menu
Items
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
first
Updated
create
Render
Root
update
connected
Callback
disconnected
Callback
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
文档标签项组件类