<atom>

<atom> is a Subject-specific component that renders the atomic symbol for an element, and contains numerous built-in chemical properties.

Attributes and Properties

Attributes for <atom>
AttributeTypeValues
atomicNumber = "…"integer
displayDecimals = "…"integer
displayDigits = "…"integer
displaySmallAsZero = "…"number
padZeros = "…"boolean"true" "false"
symbol = "…"text
Props for <atom name="a">
PropertyType
$a.atomicMassnumber
$a.atomicNumberinteger
$a.atomicRadiusinteger
$a.backgroundColortext
$a.boilingPointnumber
$a.chargeOfCommonIoninteger
$a.densitynumber
$a.disabledboolean
$a.displayDecimalsinteger
$a.displayDigitsinteger
$a.displaySmallAsZeronumber
$a.electronConfigurationelectronConfiguration
$a.electronegativitynumber
$a.fixedboolean
$a.fixLocationboolean
$a.groupinteger
$a.groupNametext
$a.hiddenboolean
$a.ionizationEnergynumber
$a.latexlatex
$a.mathmath
$a.meltingPointnumber
$a.metalCategorytext
$a.nametext
$a.orbitalDiagramorbitalDiagram
$a.padZerosboolean
$a.periodinteger
$a.phaseAtSTPtext
$a.symboltext
$a.texttext
$a.textColortext
$a.textStyleDescriptiontext

Example: Define an <atom> with atomic number

An <atom> component may defined by specifying either its atomic number or its symbol. Once defined, there are many built-in properties of <atom> that can be accessed.


Example: Define an <atom> with its symbol

An <atom> component may defined by specifying either its atomic number or its symbol. Once defined, there are many built-in properties of <atom> that can be accessed.


Attribute Example: symbol

The symbol attribute takes the atom’s chemical symbol as input.


Attribute Example: atomicNumber

The atomicNumber attribute takes the atom’s atomic number as input.


Example: All the properties at once

The listing above includes all of the chemical properties currently available to the <atom> component.