Search
Preparing search index...
The search index is not available
Physics Math
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Units
PrimitiveUnit
Class PrimitiveUnit<U>
Our primitive (non-decomposable) units.
Type parameters
U
:
Primitive
Hierarchy
UnitBase
<
{}
>
PrimitiveUnit
Implements
IUnitBase
<
{}
>
SI
PrimitiveSI
Index
Constructors
constructor
Properties
attributes
key
name
names
symbol
unit
var
Name
Accessors
html
id
tex
Methods
to
Html
to
String
to
Tex
Constructors
constructor
new
Primitive
Unit
(
u
:
U
, name
:
string
, symbol
:
string
, varName
?:
undefined
|
string
, attributes
?:
UnitAttributes
)
:
PrimitiveUnit
Parameters
u:
U
name:
string
symbol:
string
Optional
varName:
undefined
|
string
Default value
attributes:
UnitAttributes
= {}
Returns
PrimitiveUnit
Properties
Readonly
attributes
attributes
:
UnitAttributes
Readonly
key
key
:
{}
Type declaration
Readonly
name
name
:
string
Readonly
names
names
:
string
[]
= []
Readonly
symbol
symbol
:
string
Readonly
unit
unit
:
Primitive
Optional
Readonly
var
Name
var
Name
:
undefined
|
string
Accessors
html
get
html
(
)
:
Element
&
ViewOf
<
this
>
Returns
Element
&
ViewOf
<
this
>
id
get
id
(
)
:
string
Returns
string
tex
get
tex
(
)
:
string
Returns
string
Methods
to
Html
to
Html
(
block
?:
undefined
|
false
|
true
, ctx
?:
StyleContext
)
:
Element
&
ViewOf
<
this
>
Parameters
Optional
block:
undefined
|
false
|
true
Default value
ctx:
StyleContext
= DEFAULT_STYLE.context
Returns
Element
&
ViewOf
<
this
>
to
String
to
String
(
)
:
string
Returns
string
to
Tex
to
Tex
(
ctx
?:
StyleContext
)
:
string
Parameters
Default value
ctx:
StyleContext
= DEFAULT_STYLE.context
Returns
string
Globals
Frame
Functionals
Index
La
TeX
Units
Utils
Primitive
Unit
constructor
attributes
key
name
names
symbol
unit
var
Name
html
id
tex
to
Html
to
String
to
Tex
Generated using
TypeDoc
Our primitive (non-decomposable) units.