Trevixal API
Preparing search index...
@trevixal/core
MarkType
Class MarkType
Index
Constructors
constructor
Properties
name
rank
spec
Methods
create
excludes
Constructors
constructor
new
MarkType
(
name
:
string
,
rank
:
number
,
spec
:
MarkSpec
)
:
MarkType
Parameters
name
:
string
rank
:
number
spec
:
MarkSpec
Returns
MarkType
Properties
Readonly
name
name
:
string
Readonly
rank
rank
:
number
Readonly
spec
spec
:
MarkSpec
Methods
create
create
(
attrs
?:
Readonly
<
Record
<
string
,
unknown
>
>
)
:
Mark
Parameters
Optional
attrs
:
Readonly
<
Record
<
string
,
unknown
>
>
Returns
Mark
excludes
excludes
(
other
:
MarkType
)
:
boolean
Whether adding this mark should displace marks of
other
's type.
Parameters
other
:
MarkType
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
rank
spec
Methods
create
excludes
Trevixal API
Loading...
Whether adding this mark should displace marks of
other's type.