-
Notifications
You must be signed in to change notification settings - Fork 0
home
JavaScript using html.js has a one-to-one correspondence with HTML.
HTML | JavaScript using html.js | |
---|---|---|
Start tag | <div ... > |
$DIV |
End tag | </div> |
$ |
Attribute | class="div-class" |
class`div-class` |
Boolean attribute | selected |
selected or selected(true)
|
Data attribute | data-number="25-04182" |
data_`number``25-04182` |
Style | style="font-family: serif;" |
s.fontFamily`serif` |
Event | onclick="doClick(event)" |
on.click(doClick) |
Text | Hello, world! |
T`Hello, world!` |
Character reference | |
T.nbsp |
Which code is easier to work out the HTML result in your head?
Normal indentation:
const h = HTML(document.body);
h. $H1. T`Times Table`. $;
h. $TABLE. border`1`. cellspacing`0`;
h. $THEAD;
h. $TR;
h. $TH. T`12`. T.times. T`12`. $;
for (let col = 2; col <= 12; col++) {
h. $TH. T(col). $;
}
h. $;
h. $;
h. $TBODY;
for (let row = 2; row <= 12; row++) {
h. $TR;
h. $TH. T(row). $;
for (let col = 2; col <= 12; col++) {
h. $TD. s.textAlign`center`;
if (row == col) {
h. s.backgroundColor`whitesmoke`;
h. T(row). T`^2`;
} else if (row < col) {
h. s.color`silver`;
h. T(row). T.times. T(col);
} else {
h. T(row). T.times. T(col);
}
h. T` = `;
h. $B. T(row * col). $;
h. $;
}
h. $;
}
h. $;
h. $;
h.publish();
Dual indentation:
const h = HTML(document.body);
h. $H1. T`Times Table`. $;
h. $TABLE. border`1`. cellspacing`0`;
h. $THEAD;
h. $TR;
h. $TH. T`12`. T.times. T`12`. $;
for (let col = 2; col <= 12; col++) {
h. $TH. T(col). $;
}
h. $;
h. $;
h. $TBODY;
for (let row = 2; row <= 12; row++) {
h. $TR;
h. $TH. T(row). $;
for (let col = 2; col <= 12; col++) {
h. $TD. s.textAlign`center`;
if (row == col) {
h. s.backgroundColor`whitesmoke`;
h. T(row). T`^2`;
} else if (row < col) {
h. s.color`silver`;
h. T(row). T.times. T(col);
} else {
h. T(row). T.times. T(col);
}
h. T` = `;
h. $B. T(row * col). $;
h. $;
}
h. $;
}
h. $;
h. $;
h.publish();
details...
<script type="module">
import {HTML, E} from "https://cdn.jsdelivr.net/gh/katsu-oh/[email protected]/html.min.js";
HTML(document.body). $P. T`Welcome to html.js!`. $. publish();
</script>
The import
must be called before HTML()
or E()
is called.
details...
new HTML(targetElement)
new HTML`target-element-id`
new HTML()
HTML(targetElement)
HTML`target-element-id`
HTML()
An instance of HTML
object with a template element as the root element is created. The template element is set as the current element of the instance of HTML
object at first.
- target
- The target element or the ID of the target element to publish. If omitted,
HTML.prototype.publish()
must not be called.
A created instance of HTML
object.
TypeError: HTML()
is not a function.
details...
Function list:
$A, $ABBR, $ACRONYM, $ADDRESS, $APPLET, $AREA, $ARTICLE, $ASIDE, $AUDIO, $B, $BASE, $BASEFONT, $BDI, $BDO, $BIG, $BLOCKQUOTE, $BODY, $BR, $BUTTON, $CANVAS, $CAPTION, $CENTER, $CITE, $CODE, $COL, $COLGROUP, $COMMAND, $DATA, $DATALIST, $DD, $DEL, $DETAILS, $DFN, $DIR, $DIV, $DL, $DT, $EM, $EMBED, $FIELDSET, $FIGCAPTION, $FIGURE, $FONT, $FOOTER, $FORM, $FRAME, $FRAMESET, $H1, $H2, $H3, $H4, $H5, $H6, $HEAD, $HEADER, $HGROUP, $HR, $HTML, $I, $IFRAME, $IMG, $INPUT, $INS, $ISINDEX, $KBD, $KEYGEN, $LABEL, $LEGEND, $LI, $LINK, $MAIN, $MAP, $MARK, $MENU, $MENUITEM, $META, $METER, $NAV, $NOFRAMES, $NOSCRIPT, $OBJECT, $OL, $OPTGROUP, $OPTION, $OUTPUT, $P, $PARAM, $PICTURE, $PRE, $PROGRESS, $Q, $RP, $RT, $RUBY, $S, $SAMP, $SCRIPT, $SECTION, $SELECT, $SLOT, $SMALL, $SOURCE, $SPAN, $STRIKE, $STRONG, $STYLE, $SUB, $SUMMARY, $SUP, $TABLE, $TBODY, $TD, $TEMPLATE, $TEXTAREA, $TFOOT, $TH, $THEAD, $TIME, $TITLE, $TR, $TRACK, $TT, $U, $UL, $VAR, $VIDEO, $WBR
HTML`target-element-id`.$DIV.$;
An element with the <TAG_NAME>
is created and added to the end of the children of the current element of this HTML
. The created element is set as the current element of this HTML
.
- <TAG_NAME>
- The name that the element is created with. See Function list.
This HTML
.
ReferenceError: $<TAG_NAME>
is not defined.
TypeError: $<TAG_NAME>
is not a function.
details...
HTML`target-element-id`.$SPAN.$;
HTML(spanElement1).$BR.$;
The parent of the current element of this HTML
is set as the current element of this HTML
. It is also necessary for tags that have no end tags.
This HTML
.
SyntaxError: $
is unexpected.
TypeError: $
is not a function.
details...
Function list:
abbr, accept, acceptCharset, accesskey, action, align, alink, allow, allowfullscreen, alt, archive, ariaActivedescendant, ariaAtomic, ariaAutocomplete, ariaBusy, ariaChecked, ariaColcount, ariaColindex, ariaColspan, ariaControls, ariaCurrent, ariaDescribedby, ariaDetails, ariaDisabled, ariaDropeffect, ariaErrormessage, ariaExpanded, ariaFlowto, ariaGrabbed, ariaHaspopup, ariaHidden, ariaInvalid, ariaKeyshortcuts, ariaLabel, ariaLabelledby, ariaLevel, ariaLive, ariaModal, ariaMultiline, ariaMultiselectable, ariaOrientation, ariaOwns, ariaPlaceholder, ariaPosinset, ariaPressed, ariaReadonly, ariaRelevant, ariaRequired, ariaRoledescription, ariaRowcount, ariaRowindex, ariaRowspan, ariaSelected, ariaSetsize, ariaSort, ariaValuemax, ariaValuemin, ariaValuenow, ariaValuetext, as, async, autocapitalize, autocomplete, autofocus, autoplay, axis, background, bgcolor, border, capture, cellpadding, cellspacing, char, charoff, charset, checked, cite, class, classid, clear, code, codebase, codetype, color, cols, colspan, compact, content, contenteditable, controls, coords, crossorigin, data, datetime, declare, decoding, default, defer, dir, dirname, disabled, download, draggable, enctype, enterkeyhint, face, for, form, formaction, formenctype, formmethod, formnovalidate, formtarget, frame, frameborder, headers, height, hidden, high, href, hreflang, hspace, httpEquiv, id, imagesizes, imagesrcset, inputmode, integrity, is, ismap, itemid, itemprop, itemref, itemscope, itemtype, kind, label, lang, language, link, list, loading, longdesc, loop, low, marginheight, marginwidth, max, maxlength, media, method, min, minlength, multiple, muted, name, nohref, nomodule, nonce, noresize, noshade, novalidate, nowrap, object, open, optimum, pattern, ping, placeholder, playsinline, poster, preload, profile, prompt, readonly, referrerpolicy, rel, required, rev, reversed, role, rows, rowspan, rules, sandbox, scheme, scope, scrolling, selected, shape, size, sizes, slot, span, spellcheck, src, srcdoc, srclang, srcset, standby, start, step, style, summary, tabindex, target, text, title, translate, type, usemap, valign, value, valuetype, version, vlink, vspace, width, wrap
*1. Attributes with hyphen separated names are implemented in functions with the names converted to lower camel case.
*2. Custom data attributes ('data-*') are available byHTML.prototype.data_()
.
HTML(divElement).$A.href(url).autofocus(true).$;
HTML(divElement).$A.href`http://www.example.com/`.autofocus.$;
The value
is assigned to the attribute with the <attributeName>
of the current element of this HTML
. If the value
is omitted or true
, ""
is assigned. If the value
is false
, no value is assigned. If the value
is not a boolean, a string that the value
is converted to is assigned.
- <attributeName>
- The name of the attribute that the
value
is assigned to. See Function list. - value
- The value assigned to the attribute with the
<attributeName>
of the current element of thisHTML
. If omitted ortrue
,""
. Iffalse
, no value. If not a boolean, converted to a string.
This HTML
.
ReferenceError: <attributeName>
is not defined.
TypeError: <attributeName>()
is not a function.
details...
HTML(document.body).$DIV.data_(name, value).$;
HTML(document.body).$DIV.data_(name)(value).$;
HTML(document.body).$DIV.data_(name)`value1`.$;
HTML(document.body).$DIV.data_`name1`(value).$;
HTML(document.body).$DIV.data_`name1``value1`.$;
The value
is assigned to the custom data attribute with the name
of the current element of this HTML
.
- name
- The name of the custom data attribute that the
value
is assigned to. The name cannot contain uppercase letters. If consisting of multiple words, the name can be separated by hyphens. - value
- The value assigned to the custom data attribute with the
name
of the current element of thisHTML
.
This HTML
.
TypeError: data_()
/ data_()()
is not a function.
details...
Function list:
s.accentColor, s.alignContent, s.alignItems, s.alignSelf, s.alignTracks, s.all, s.animation, s.animationDelay, s.animationDirection, s.animationDuration, s.animationFillMode, s.animationIterationCount, s.animationName, s.animationPlayState, s.animationTimeline, s.animationTimingFunction, s.appearance, s.aspectRatio, s.azimuth, s.backdropFilter, s.backfaceVisibility, s.background, s.backgroundAttachment, s.backgroundBlendMode, s.backgroundClip, s.backgroundColor, s.backgroundImage, s.backgroundOrigin, s.backgroundPosition, s.backgroundPositionX, s.backgroundPositionY, s.backgroundRepeat, s.backgroundSize, s.blockSize, s.border, s.borderBlock, s.borderBlockColor, s.borderBlockEnd, s.borderBlockEndColor, s.borderBlockEndStyle, s.borderBlockEndWidth, s.borderBlockStart, s.borderBlockStartColor, s.borderBlockStartStyle, s.borderBlockStartWidth, s.borderBlockStyle, s.borderBlockWidth, s.borderBottom, s.borderBottomColor, s.borderBottomLeftRadius, s.borderBottomRightRadius, s.borderBottomStyle, s.borderBottomWidth, s.borderCollapse, s.borderColor, s.borderEndEndRadius, s.borderEndStartRadius, s.borderImage, s.borderImageOutset, s.borderImageRepeat, s.borderImageSlice, s.borderImageSource, s.borderImageWidth, s.borderInline, s.borderInlineColor, s.borderInlineEnd, s.borderInlineEndColor, s.borderInlineEndStyle, s.borderInlineEndWidth, s.borderInlineStart, s.borderInlineStartColor, s.borderInlineStartStyle, s.borderInlineStartWidth, s.borderInlineStyle, s.borderInlineWidth, s.borderLeft, s.borderLeftColor, s.borderLeftStyle, s.borderLeftWidth, s.borderRadius, s.borderRight, s.borderRightColor, s.borderRightStyle, s.borderRightWidth, s.borderSpacing, s.borderStartEndRadius, s.borderStartStartRadius, s.borderStyle, s.borderTop, s.borderTopColor, s.borderTopLeftRadius, s.borderTopRightRadius, s.borderTopStyle, s.borderTopWidth, s.borderWidth, s.bottom, s.boxDecorationBreak, s.boxShadow, s.boxSizing, s.breakAfter, s.breakBefore, s.breakInside, s.captionSide, s.caretColor, s.clear, s.clip, s.clipPath, s.color, s.colorScheme, s.columnCount, s.columnFill, s.columnGap, s.columnRule, s.columnRuleColor, s.columnRuleStyle, s.columnRuleWidth, s.columns, s.columnSpan, s.columnWidth, s.contain, s.content, s.contentVisibility, s.counterIncrement, s.counterReset, s.counterSet, s.crop, s.cue, s.cueAfter, s.cueBefore, s.cursor, s.direction, s.display, s.elevation, s.emptyCells, s.filter, s.fit, s.fitPosition, s.flex, s.flexBasis, s.flexDirection, s.flexFlow, s.flexGrow, s.flexShrink, s.flexWrap, s.float, s.font, s.fontFamily, s.fontFeatureSettings, s.fontKerning, s.fontLanguageOverride, s.fontOpticalSizing, s.fontSize, s.fontSizeAdjust, s.fontStretch, s.fontStyle, s.fontSynthesis, s.fontVariant, s.fontVariantAlternates, s.fontVariantCaps, s.fontVariantEastAsian, s.fontVariantLigatures, s.fontVariantNumeric, s.fontVariantPosition, s.fontVariationSettings, s.fontWeight, s.forcedColorAdjust, s.gap, s.grid, s.gridArea, s.gridAutoColumns, s.gridAutoFlow, s.gridAutoRows, s.gridCell, s.gridColumn, s.gridColumnAlign, s.gridColumnEnd, s.gridColumns, s.gridColumnSizing, s.gridColumnSpan, s.gridColumnStart, s.gridFlow, s.gridRow, s.gridRowAlign, s.gridRowEnd, s.gridRows, s.gridRowSizing, s.gridRowSpan, s.gridRowStart, s.gridTemplate, s.gridTemplateAreas, s.gridTemplateColumns, s.gridTemplateRows, s.hangingPunctuation, s.height, s.hyphenateCharacter, s.hyphens, s.icon, s.imageOrientation, s.imageRendering, s.imageResolution, s.imeMode, s.initialLetter, s.initialLetterAlign, s.inlineSize, s.inset, s.insetBlock, s.insetBlockEnd, s.insetBlockStart, s.insetInline, s.insetInlineEnd, s.insetInlineStart, s.isolation, s.justifyContent, s.justifyItems, s.justifySelf, s.justifyTracks, s.left, s.letterSpacing, s.lineBreak, s.lineHeight, s.lineHeightStep, s.listStyle, s.listStyleImage, s.listStylePosition, s.listStyleType, s.margin, s.marginBlock, s.marginBlockEnd, s.marginBlockStart, s.marginBottom, s.marginInline, s.marginInlineEnd, s.marginInlineStart, s.marginLeft, s.marginRight, s.marginTop, s.marginTrim, s.marks, s.marqueeDirection, s.marqueePlayCount, s.marqueeSpeed, s.marqueeStyle, s.mask, s.maskBorder, s.maskBorderMode, s.maskBorderOutset, s.maskBorderRepeat, s.maskBorderSlice, s.maskBorderSource, s.maskBorderWidth, s.maskClip, s.maskComposite, s.maskImage, s.maskMode, s.maskOrigin, s.maskPosition, s.maskRepeat, s.maskSize, s.maskType, s.masonryAutoFlow, s.maxBlockSize, s.maxHeight, s.maxInlineSize, s.maxWidth, s.minBlockSize, s.minHeight, s.minInlineSize, s.minWidth, s.mixBlendMode, s.moveTo, s.navDown, s.navIndex, s.navLeft, s.navRight, s.navUp, s.objectFit, s.objectPosition, s.offset, s.offsetAnchor, s.offsetDistance, s.offsetPath, s.offsetPosition, s.offsetRotate, s.opacity, s.order, s.orphans, s.outline, s.outlineColor, s.outlineOffset, s.outlineStyle, s.outlineWidth, s.overflow, s.overflowAnchor, s.overflowBlock, s.overflowClipMargin, s.overflowInline, s.overflowStyle, s.overflowWrap, s.overflowX, s.overflowY, s.overscrollBehavior, s.overscrollBehaviorBlock, s.overscrollBehaviorInline, s.overscrollBehaviorX, s.overscrollBehaviorY, s.padding, s.paddingBlock, s.paddingBlockEnd, s.paddingBlockStart, s.paddingBottom, s.paddingInline, s.paddingInlineEnd, s.paddingInlineStart, s.paddingLeft, s.paddingRight, s.paddingTop, s.page, s.pageBreakAfter, s.pageBreakBefore, s.pageBreakInside, s.pagePolicy, s.paintOrder, s.pause, s.pauseAfter, s.pauseBefore, s.perspective, s.perspectiveOrigin, s.pitch, s.pitchRange, s.placeContent, s.placeItems, s.placeSelf, s.playDuring, s.pointerEvents, s.position, s.printColorAdjust, s.quotes, s.resize, s.rest, s.restAfter, s.restBefore, s.revert, s.richness, s.right, s.rotate, s.rowGap, s.rubyAlign, s.rubyPosition, s.scale, s.scrollbarColor, s.scrollbarGutter, s.scrollbarWidth, s.scrollBehavior, s.scrollMargin, s.scrollMarginBlock, s.scrollMarginBlockEnd, s.scrollMarginBlockStart, s.scrollMarginBottom, s.scrollMarginInline, s.scrollMarginInlineEnd, s.scrollMarginInlineStart, s.scrollMarginLeft, s.scrollMarginRight, s.scrollMarginTop, s.scrollPadding, s.scrollPaddingBlock, s.scrollPaddingBlockEnd, s.scrollPaddingBlockStart, s.scrollPaddingBottom, s.scrollPaddingInline, s.scrollPaddingInlineEnd, s.scrollPaddingInlineStart, s.scrollPaddingLeft, s.scrollPaddingRight, s.scrollPaddingTop, s.scrollSnapAlign, s.scrollSnapStop, s.scrollSnapType, s.shapeImageThreshold, s.shapeMargin, s.shapeOutside, s.size, s.speak, s.speakAs, s.speakHeader, s.speakNumeral, s.speakPunctuation, s.speechRate, s.stress, s.tableLayout, s.tabSize, s.textAlign, s.textAlignLast, s.textCombineHorizontal, s.textCombineMode, s.textCombineUpright, s.textDecoration, s.textDecorationColor, s.textDecorationLine, s.textDecorationSkip, s.textDecorationSkipInk, s.textDecorationStyle, s.textDecorationThickness, s.textEmphasis, s.textEmphasisColor, s.textEmphasisPosition, s.textEmphasisStyle, s.textIndent, s.textJustify, s.textOrientation, s.textOverflow, s.textRendering, s.textShadow, s.textSizeAdjust, s.textTransform, s.textUnderlineOffset, s.textUnderlinePosition, s.top, s.touchAction, s.transform, s.transformBox, s.transformOrigin, s.transformStyle, s.transition, s.transitionDelay, s.transitionDuration, s.transitionProperty, s.transitionTimingFunction, s.translate, s.unicodeBidi, s.userSelect, s.verticalAlign, s.visibility, s.voiceBalance, s.voiceDuration, s.voiceFamily, s.voicePitch, s.voiceRange, s.voiceRate, s.voiceStress, s.voiceVolume, s.volume, s.whiteSpace, s.widows, s.width, s.willChange, s.wordBreak, s.wordSpacing, s.wordWrap, s.writingMode, s.zIndex
*1. Styles with hyphen separated names are implemented in functions with the names converted to lower camel case.
HTML`div-1`.$SPAN.s.color('red').$;
HTML`div-1`.$SPAN.s.color`red`.$;
The value
is assigned to the style with the <styleName>
of the current element of this HTML
.
- <styleName>
- The name of the style that the
value
is assigned to. See Function list. - value
- The value assigned to the style with the
<styleName>
of the current element of thisHTML
.
This HTML
.
ReferenceError: <styleName>
is not defined.
TypeError: <styleName>()
is not a function.
details...
Function list:
on.abort, on.afterprint, on.afterscriptexecute, on.animationcancel, on.animationend, on.animationiteration, on.animationstart, on.appinstalled, on.auxclick, on.beforeinput, on.beforeprint, on.beforescriptexecute, on.beforeunload, on.blur, on.cancel, on.canplay, on.canplaythrough, on.change, on.click, on.close, on.compositionend, on.compositionstart, on.compositionupdate, on.contextmenu, on.copy, on.cuechange, on.cut, on.dblclick, on.devicemotion, on.deviceorientation, on.DOMActivate, on.DOMContentLoaded, on.DOMMouseScroll, on.drag, on.dragend, on.dragenter, on.dragleave, on.dragover, on.dragstart, on.drop, on.durationchange, on.emptied, on.ended, on.enterpictureinpicture, on.error, on.focus, on.focusin, on.focusout, on.formdata, on.fullscreenchange, on.fullscreenerror, on.gamepadconnected, on.gamepaddisconnected, on.gotpointercapture, on.hashchange, on.input, on.invalid, on.keydown, on.keypress, on.keyup, on.languagechange, on.leavepictureinpicture, on.load, on.loadeddata, on.loadedmetadata, on.loadstart, on.lostpointercapture, on.message, on.messageerror, on.mousedown, on.mouseenter, on.mouseleave, on.mousemove, on.mouseout, on.mouseover, on.mouseup, on.mousewheel, on.offline, on.online, on.orientationchange, on.overflow, on.pagehide, on.pageshow, on.paste, on.pause, on.play, on.playing, on.pointercancel, on.pointerdown, on.pointerenter, on.pointerleave, on.pointerlockchange, on.pointerlockerror, on.pointermove, on.pointerout, on.pointerover, on.pointerup, on.popstate, on.progress, on.ratechange, on.readystatechange, on.rejectionhandled, on.reset, on.resize, on.scroll, on.search, on.seeked, on.seeking, on.select, on.selectionchange, on.selectstart, on.show, on.slotchange, on.stalled, on.storage, on.submit, on.suspend, on.timeupdate, on.toggle, on.touchcancel, on.touchend, on.touchmove, on.touchstart, on.transitioncancel, on.transitionend, on.transitionrun, on.transitionstart, on.underflow, on.unhandledrejection, on.unload, on.visibilitychange, on.volumechange, on.waiting, on.webglcontextcreationerror, on.webglcontextlost, on.webglcontextrestored, on.wheel
HTML`sectionA`.$DIV.on.click(handler).$;
HTML`sectionA`.$DIV.on.click(handler, false).$;
The listener
is added to the event listeners for the <EventType>
on the current element of this HTML
.
- <EventType>
- The event type that the
listener
is added to the event listeners for. See Function list. - listener
- The function or the
EventListener
object that is added to the event listeners for the<EventType>
on the current element of thisHTML
. - options
- Same as
options
oruseCapture
ofEventTarget.addEventListener()
.
This HTML
.
ReferenceError: <EventType>
is not defined.
TypeError: <EventType>()
is not a function.
details...
HTML`sectionA`.$DIV.on.publish(handler).$;
HTML`sectionA`.$DIV.on.publish(handler, false).$;
The listener
is added to the event listeners for the event type 'publish'
on the current element of this HTML
. Event listeners for the event type 'publish'
are triggered by calling HTML.prototype.publish()
.
- listener
- The function or the
EventListener
object that is added to the event listeners for the event type'publish'
on the current element of thisHTML
. - options
- Same as
options
oruseCapture
ofEventTarget.addEventListener()
.
This HTML
.
TypeError: publish()
is not a function.
details...
HTML(container).$SPAN.s.color`red`.T(message).$;
HTML(container).$SPAN.s.color`red`.T`This is a red message.`.$;
The text
is added to the end of the contents of the current element of this HTML
. The text
can contain HTML special characters, they appear as escapes in HTML codes.
- text
- The text content that is added to the end of the content of the current element of this
HTML
.
This HTML
.
TypeError: T()
is not a function.
details...
Function list:
T.Aacute, T.aacute, T.Abreve, T.abreve, T.ac, T.acd, T.acE, T.Acirc, T.acirc, T.acute, T.Acy, T.acy, T.AElig, T.aelig, T.af, T.Afr, T.afr, T.Agrave, T.agrave, T.alefsym, T.aleph, T.Alpha, T.alpha, T.Amacr, T.amacr, T.amalg, T.AMP, T.amp, T.And, T.and, T.andand, T.andd, T.andslope, T.andv, T.ang, T.ange, T.angle, T.angmsd, T.angmsdaa, T.angmsdab, T.angmsdac, T.angmsdad, T.angmsdae, T.angmsdaf, T.angmsdag, T.angmsdah, T.angrt, T.angrtvb, T.angrtvbd, T.angsph, T.angst, T.angzarr, T.Aogon, T.aogon, T.Aopf, T.aopf, T.ap, T.apacir, T.apE, T.ape, T.apid, T.apos, T.ApplyFunction, T.approx, T.approxeq, T.Aring, T.aring, T.Ascr, T.ascr, T.Assign, T.ast, T.asymp, T.asympeq, T.Atilde, T.atilde, T.Auml, T.auml, T.awconint, T.awint, T.backcong, T.backepsilon, T.backprime, T.backsim, T.backsimeq, T.Backslash, T.Barv, T.barvee, T.Barwed, T.barwed, T.barwedge, T.bbrk, T.bbrktbrk, T.bcong, T.Bcy, T.bcy, T.bdquo, T.becaus, T.Because, T.because, T.bemptyv, T.bepsi, T.bernou, T.Bernoullis, T.Beta, T.beta, T.beth, T.between, T.Bfr, T.bfr, T.bigcap, T.bigcirc, T.bigcup, T.bigodot, T.bigoplus, T.bigotimes, T.bigsqcup, T.bigstar, T.bigtriangledown, T.bigtriangleup, T.biguplus, T.bigvee, T.bigwedge, T.bkarow, T.blacklozenge, T.blacksquare, T.blacktriangle, T.blacktriangledown, T.blacktriangleleft, T.blacktriangleright, T.blank, T.blk12, T.blk14, T.blk34, T.block, T.bne, T.bnequiv, T.bNot, T.bnot, T.Bopf, T.bopf, T.bot, T.bottom, T.bowtie, T.boxbox, T.boxDL, T.boxDl, T.boxdL, T.boxdl, T.boxDR, T.boxDr, T.boxdR, T.boxdr, T.boxH, T.boxh, T.boxHD, T.boxHd, T.boxhD, T.boxhd, T.boxHU, T.boxHu, T.boxhU, T.boxhu, T.boxminus, T.boxplus, T.boxtimes, T.boxUL, T.boxUl, T.boxuL, T.boxul, T.boxUR, T.boxUr, T.boxuR, T.boxur, T.boxV, T.boxv, T.boxVH, T.boxVh, T.boxvH, T.boxvh, T.boxVL, T.boxVl, T.boxvL, T.boxvl, T.boxVR, T.boxVr, T.boxvR, T.boxvr, T.bprime, T.Breve, T.breve, T.brvbar, T.Bscr, T.bscr, T.bsemi, T.bsim, T.bsime, T.bsol, T.bsolb, T.bsolhsub, T.bull, T.bullet, T.bump, T.bumpE, T.bumpe, T.Bumpeq, T.bumpeq, T.Cacute, T.cacute, T.Cap, T.cap, T.capand, T.capbrcup, T.capcap, T.capcup, T.capdot, T.CapitalDifferentialD, T.caps, T.caret, T.caron, T.Cayleys, T.ccaps, T.Ccaron, T.ccaron, T.Ccedil, T.ccedil, T.Ccirc, T.ccirc, T.Cconint, T.ccups, T.ccupssm, T.Cdot, T.cdot, T.cedil, T.Cedilla, T.cemptyv, T.cent, T.CenterDot, T.centerdot, T.Cfr, T.cfr, T.CHcy, T.chcy, T.check, T.checkmark, T.Chi, T.chi, T.cir, T.circ, T.circeq, T.circlearrowleft, T.circlearrowright, T.circledast, T.circledcirc, T.circleddash, T.CircleDot, T.circledR, T.circledS, T.CircleMinus, T.CirclePlus, T.CircleTimes, T.cirE, T.cire, T.cirfnint, T.cirmid, T.cirscir, T.ClockwiseContourIntegral, T.CloseCurlyDoubleQuote, T.CloseCurlyQuote, T.clubs, T.clubsuit, T.Colon, T.colon, T.Colone, T.colone, T.coloneq, T.comma, T.commat, T.comp, T.compfn, T.complement, T.complexes, T.cong, T.congdot, T.Congruent, T.Conint, T.conint, T.ContourIntegral, T.Copf, T.copf, T.coprod, T.Coproduct, T.COPY, T.copy, T.copysr, T.CounterClockwiseContourIntegral, T.crarr, T.Cross, T.cross, T.Cscr, T.cscr, T.csub, T.csube, T.csup, T.csupe, T.ctdot, T.cudarrl, T.cudarrr, T.cuepr, T.cuesc, T.cularr, T.cularrp, T.Cup, T.cup, T.cupbrcap, T.CupCap, T.cupcap, T.cupcup, T.cupdot, T.cupor, T.cups, T.curarr, T.curarrm, T.curlyeqprec, T.curlyeqsucc, T.curlyvee, T.curlywedge, T.curren, T.curvearrowleft, T.curvearrowright, T.cuvee, T.cuwed, T.cwconint, T.cwint, T.cylcty, T.Dagger, T.dagger, T.daleth, T.Darr, T.dArr, T.darr, T.dash, T.Dashv, T.dashv, T.dbkarow, T.dblac, T.Dcaron, T.dcaron, T.Dcy, T.dcy, T.DD, T.dd, T.ddagger, T.ddarr, T.DDotrahd, T.ddotseq, T.deg, T.Del, T.Delta, T.delta, T.demptyv, T.dfisht, T.Dfr, T.dfr, T.dHar, T.dharl, T.dharr, T.DiacriticalAcute, T.DiacriticalDot, T.DiacriticalDoubleAcute, T.DiacriticalGrave, T.DiacriticalTilde, T.diam, T.Diamond, T.diamond, T.diamondsuit, T.diams, T.die, T.DifferentialD, T.digamma, T.disin, T.div, T.divide, T.divideontimes, T.divonx, T.DJcy, T.djcy, T.dlcorn, T.dlcrop, T.dollar, T.Dopf, T.dopf, T.Dot, T.dot, T.DotDot, T.doteq, T.doteqdot, T.DotEqual, T.dotminus, T.dotplus, T.dotsquare, T.doublebarwedge, T.DoubleContourIntegral, T.DoubleDot, T.DoubleDownArrow, T.DoubleLeftArrow, T.DoubleLeftRightArrow, T.DoubleLeftTee, T.DoubleLongLeftArrow, T.DoubleLongLeftRightArrow, T.DoubleLongRightArrow, T.DoubleRightArrow, T.DoubleRightTee, T.DoubleUpArrow, T.DoubleUpDownArrow, T.DoubleVerticalBar, T.DownArrow, T.Downarrow, T.downarrow, T.DownArrowBar, T.DownArrowUpArrow, T.DownBreve, T.downdownarrows, T.downharpoonleft, T.downharpoonright, T.DownLeftRightVector, T.DownLeftTeeVector, T.DownLeftVector, T.DownLeftVectorBar, T.DownRightTeeVector, T.DownRightVector, T.DownRightVectorBar, T.DownTee, T.DownTeeArrow, T.drbkarow, T.drcorn, T.drcrop, T.Dscr, T.dscr, T.DScy, T.dscy, T.dsol, T.Dstrok, T.dstrok, T.dtdot, T.dtri, T.dtrif, T.duarr, T.duhar, T.dwangle, T.DZcy, T.dzcy, T.dzigrarr, T.Eacute, T.eacute, T.easter, T.Ecaron, T.ecaron, T.ecir, T.Ecirc, T.ecirc, T.ecolon, T.Ecy, T.ecy, T.eDDot, T.Edot, T.eDot, T.edot, T.ee, T.efDot, T.Efr, T.efr, T.eg, T.Egrave, T.egrave, T.egs, T.egsdot, T.el, T.Element, T.elinters, T.ell, T.els, T.elsdot, T.Emacr, T.emacr, T.empty, T.emptyset, T.EmptySmallSquare, T.emptyv, T.EmptyVerySmallSquare, T.emsp, T.emsp13, T.emsp14, T.ENG, T.eng, T.ensp, T.Eogon, T.eogon, T.Eopf, T.eopf, T.epar, T.eparsl, T.eplus, T.epsi, T.Epsilon, T.epsilon, T.epsiv, T.eqcirc, T.eqcolon, T.eqsim, T.eqslantgtr, T.eqslantless, T.Equal, T.equals, T.EqualTilde, T.equest, T.Equilibrium, T.equiv, T.equivDD, T.eqvparsl, T.erarr, T.erDot, T.Escr, T.escr, T.esdot, T.Esim, T.esim, T.Eta, T.eta, T.ETH, T.eth, T.Euml, T.euml, T.euro, T.excl, T.exist, T.Exists, T.expectation, T.ExponentialE, T.exponentiale, T.fallingdotseq, T.Fcy, T.fcy, T.female, T.ffilig, T.fflig, T.ffllig, T.Ffr, T.ffr, T.filig, T.FilledSmallSquare, T.FilledVerySmallSquare, T.fjlig, T.flat, T.fllig, T.fltns, T.fnof, T.Fopf, T.fopf, T.ForAll, T.forall, T.fork, T.forkv, T.Fouriertrf, T.fpartint, T.frac12, T.frac13, T.frac14, T.frac15, T.frac16, T.frac18, T.frac23, T.frac25, T.frac34, T.frac35, T.frac38, T.frac45, T.frac56, T.frac58, T.frac78, T.frasl, T.frown, T.Fscr, T.fscr, T.gacute, T.Gamma, T.gamma, T.Gammad, T.gammad, T.gap, T.Gbreve, T.gbreve, T.Gcedil, T.Gcirc, T.gcirc, T.Gcy, T.gcy, T.Gdot, T.gdot, T.gE, T.ge, T.gEl, T.gel, T.geq, T.geqq, T.geqslant, T.ges, T.gescc, T.gesdot, T.gesdoto, T.gesdotol, T.gesl, T.gesles, T.Gfr, T.gfr, T.Gg, T.gg, T.ggg, T.gimel, T.GJcy, T.gjcy, T.gl, T.gla, T.glE, T.glj, T.gnap, T.gnapprox, T.gnE, T.gne, T.gneq, T.gneqq, T.gnsim, T.Gopf, T.gopf, T.grave, T.GreaterEqual, T.GreaterEqualLess, T.GreaterFullEqual, T.GreaterGreater, T.GreaterLess, T.GreaterSlantEqual, T.GreaterTilde, T.Gscr, T.gscr, T.gsim, T.gsime, T.gsiml, T.GT, T.Gt, T.gt, T.gtcc, T.gtcir, T.gtdot, T.gtlPar, T.gtquest, T.gtrapprox, T.gtrarr, T.gtrdot, T.gtreqless, T.gtreqqless, T.gtrless, T.gtrsim, T.gvertneqq, T.gvnE, T.Hacek, T.hairsp, T.half, T.hamilt, T.HARDcy, T.hardcy, T.hArr, T.harr, T.harrcir, T.harrw, T.Hat, T.hbar, T.Hcirc, T.hcirc, T.hearts, T.heartsuit, T.hellip, T.hercon, T.Hfr, T.hfr, T.HilbertSpace, T.hksearow, T.hkswarow, T.hoarr, T.homtht, T.hookleftarrow, T.hookrightarrow, T.Hopf, T.hopf, T.horbar, T.HorizontalLine, T.Hscr, T.hscr, T.hslash, T.Hstrok, T.hstrok, T.HumpDownHump, T.HumpEqual, T.hybull, T.hyphen, T.Iacute, T.iacute, T.ic, T.Icirc, T.icirc, T.Icy, T.icy, T.Idot, T.IEcy, T.iecy, T.iexcl, T.iff, T.Ifr, T.ifr, T.Igrave, T.igrave, T.ii, T.iiiint, T.iiint, T.iinfin, T.iiota, T.IJlig, T.ijlig, T.Im, T.Imacr, T.imacr, T.image, T.ImaginaryI, T.imagline, T.imagpart, T.imath, T.imof, T.imped, T.Implies, T.in, T.incare, T.infin, T.infintie, T.inodot, T.Int, T.int, T.intcal, T.integers, T.Integral, T.intercal, T.Intersection, T.intlarhk, T.intprod, T.InvisibleComma, T.InvisibleTimes, T.IOcy, T.iocy, T.Iogon, T.iogon, T.Iopf, T.iopf, T.Iota, T.iota, T.iprod, T.iquest, T.Iscr, T.iscr, T.isin, T.isindot, T.isinE, T.isins, T.isinsv, T.isinv, T.it, T.Itilde, T.itilde, T.Iukcy, T.iukcy, T.Iuml, T.iuml, T.Jcirc, T.jcirc, T.Jcy, T.jcy, T.Jfr, T.jfr, T.jmath, T.Jopf, T.jopf, T.Jscr, T.jscr, T.Jsercy, T.jsercy, T.Jukcy, T.jukcy, T.Kappa, T.kappa, T.kappav, T.Kcedil, T.kcedil, T.Kcy, T.kcy, T.Kfr, T.kfr, T.kgreen, T.KHcy, T.khcy, T.KJcy, T.kjcy, T.Kopf, T.kopf, T.Kscr, T.kscr, T.lAarr, T.Lacute, T.lacute, T.laemptyv, T.lagran, T.Lambda, T.lambda, T.Lang, T.lang, T.langd, T.langle, T.lap, T.Laplacetrf, T.laquo, T.Larr, T.lArr, T.larr, T.larrb, T.larrbfs, T.larrfs, T.larrhk, T.larrlp, T.larrpl, T.larrsim, T.larrtl, T.lat, T.lAtail, T.latail, T.late, T.lates, T.lBarr, T.lbarr, T.lbbrk, T.lbrace, T.lbrack, T.lbrke, T.lbrksld, T.lbrkslu, T.Lcaron, T.lcaron, T.Lcedil, T.lcedil, T.lceil, T.lcub, T.Lcy, T.lcy, T.ldca, T.ldquo, T.ldquor, T.ldrdhar, T.ldrushar, T.ldsh, T.lE, T.le, T.LeftAngleBracket, T.LeftArrow, T.Leftarrow, T.leftarrow, T.LeftArrowBar, T.LeftArrowRightArrow, T.leftarrowtail, T.LeftCeiling, T.LeftDoubleBracket, T.LeftDownTeeVector, T.LeftDownVector, T.LeftDownVectorBar, T.LeftFloor, T.leftharpoondown, T.leftharpoonup, T.leftleftarrows, T.LeftRightArrow, T.Leftrightarrow, T.leftrightarrow, T.leftrightarrows, T.leftrightharpoons, T.leftrightsquigarrow, T.LeftRightVector, T.LeftTee, T.LeftTeeArrow, T.LeftTeeVector, T.leftthreetimes, T.LeftTriangle, T.LeftTriangleBar, T.LeftTriangleEqual, T.LeftUpDownVector, T.LeftUpTeeVector, T.LeftUpVector, T.LeftUpVectorBar, T.LeftVector, T.LeftVectorBar, T.lEg, T.leg, T.leq, T.leqq, T.leqslant, T.les, T.lescc, T.lesdot, T.lesdoto, T.lesdotor, T.lesg, T.lesges, T.lessapprox, T.lessdot, T.lesseqgtr, T.lesseqqgtr, T.LessEqualGreater, T.LessFullEqual, T.LessGreater, T.lessgtr, T.LessLess, T.lesssim, T.LessSlantEqual, T.LessTilde, T.lfisht, T.lfloor, T.Lfr, T.lfr, T.lg, T.lgE, T.lHar, T.lhard, T.lharu, T.lharul, T.lhblk, T.LJcy, T.ljcy, T.Ll, T.ll, T.llarr, T.llcorner, T.Lleftarrow, T.llhard, T.lltri, T.Lmidot, T.lmidot, T.lmoust, T.lmoustache, T.lnap, T.lnapprox, T.lnE, T.lne, T.lneq, T.lneqq, T.lnsim, T.loang, T.loarr, T.lobrk, T.LongLeftArrow, T.Longleftarrow, T.longleftarrow, T.LongLeftRightArrow, T.Longleftrightarrow, T.longleftrightarrow, T.longmapsto, T.LongRightArrow, T.Longrightarrow, T.longrightarrow, T.looparrowleft, T.looparrowright, T.lopar, T.Lopf, T.lopf, T.loplus, T.lotimes, T.lowast, T.lowbar, T.LowerLeftArrow, T.LowerRightArrow, T.loz, T.lozenge, T.lozf, T.lpar, T.lparlt, T.lrarr, T.lrcorner, T.lrhar, T.lrhard, T.lrm, T.lrtri, T.lsaquo, T.Lscr, T.lscr, T.Lsh, T.lsh, T.lsim, T.lsime, T.lsimg, T.lsqb, T.lsquo, T.lsquor, T.Lstrok, T.lstrok, T.LT, T.Lt, T.lt, T.ltcc, T.ltcir, T.ltdot, T.lthree, T.ltimes, T.ltlarr, T.ltquest, T.ltri, T.ltrie, T.ltrif, T.ltrPar, T.lurdshar, T.luruhar, T.lvertneqq, T.lvnE, T.macr, T.male, T.malt, T.maltese, T.Map, T.map, T.mapsto, T.mapstodown, T.mapstoleft, T.mapstoup, T.marker, T.mcomma, T.Mcy, T.mcy, T.mdash, T.mDDot, T.measuredangle, T.MediumSpace, T.Mellintrf, T.Mfr, T.mfr, T.mho, T.micro, T.mid, T.midast, T.midcir, T.middot, T.minus, T.minusb, T.minusd, T.minusdu, T.MinusPlus, T.mlcp, T.mldr, T.mnplus, T.models, T.Mopf, T.mopf, T.mp, T.Mscr, T.mscr, T.mstpos, T.Mu, T.mu, T.multimap, T.mumap, T.nabla, T.Nacute, T.nacute, T.nang, T.nap, T.napE, T.napid, T.napos, T.napprox, T.natur, T.natural, T.naturals, T.nbsp, T.nbump, T.nbumpe, T.ncap, T.Ncaron, T.ncaron, T.Ncedil, T.ncedil, T.ncong, T.ncongdot, T.ncup, T.Ncy, T.ncy, T.ndash, T.ne, T.nearhk, T.neArr, T.nearr, T.nearrow, T.nedot, T.NegativeMediumSpace, T.NegativeThickSpace, T.NegativeThinSpace, T.NegativeVeryThinSpace, T.nequiv, T.nesear, T.nesim, T.NestedGreaterGreater, T.NestedLessLess, T.NewLine, T.nexist, T.nexists, T.Nfr, T.nfr, T.ngE, T.nge, T.ngeq, T.ngeqq, T.ngeqslant, T.nges, T.nGg, T.ngsim, T.nGt, T.ngt, T.ngtr, T.nGtv, T.nhArr, T.nharr, T.nhpar, T.ni, T.nis, T.nisd, T.niv, T.NJcy, T.njcy, T.nlArr, T.nlarr, T.nldr, T.nlE, T.nle, T.nLeftarrow, T.nleftarrow, T.nLeftrightarrow, T.nleftrightarrow, T.nleq, T.nleqq, T.nleqslant, T.nles, T.nless, T.nLl, T.nlsim, T.nLt, T.nlt, T.nltri, T.nltrie, T.nLtv, T.nmid, T.NoBreak, T.NonBreakingSpace, T.Nopf, T.nopf, T.Not, T.not, T.NotCongruent, T.NotCupCap, T.NotDoubleVerticalBar, T.NotElement, T.NotEqual, T.NotEqualTilde, T.NotExists, T.NotGreater, T.NotGreaterEqual, T.NotGreaterFullEqual, T.NotGreaterGreater, T.NotGreaterLess, T.NotGreaterSlantEqual, T.NotGreaterTilde, T.NotHumpDownHump, T.NotHumpEqual, T.notin, T.notindot, T.notinE, T.notinva, T.notinvb, T.notinvc, T.NotLeftTriangle, T.NotLeftTriangleBar, T.NotLeftTriangleEqual, T.NotLess, T.NotLessEqual, T.NotLessGreater, T.NotLessLess, T.NotLessSlantEqual, T.NotLessTilde, T.NotNestedGreaterGreater, T.NotNestedLessLess, T.notni, T.notniva, T.notnivb, T.notnivc, T.NotPrecedes, T.NotPrecedesEqual, T.NotPrecedesSlantEqual, T.NotReverseElement, T.NotRightTriangle, T.NotRightTriangleBar, T.NotRightTriangleEqual, T.NotSquareSubset, T.NotSquareSubsetEqual, T.NotSquareSuperset, T.NotSquareSupersetEqual, T.NotSubset, T.NotSubsetEqual, T.NotSucceeds, T.NotSucceedsEqual, T.NotSucceedsSlantEqual, T.NotSucceedsTilde, T.NotSuperset, T.NotSupersetEqual, T.NotTilde, T.NotTildeEqual, T.NotTildeFullEqual, T.NotTildeTilde, T.NotVerticalBar, T.npar, T.nparallel, T.nparsl, T.npart, T.npolint, T.npr, T.nprcue, T.npre, T.nprec, T.npreceq, T.nrArr, T.nrarr, T.nrarrc, T.nrarrw, T.nRightarrow, T.nrightarrow, T.nrtri, T.nrtrie, T.nsc, T.nsccue, T.nsce, T.Nscr, T.nscr, T.nshortmid, T.nshortparallel, T.nsim, T.nsime, T.nsimeq, T.nsmid, T.nspar, T.nsqsube, T.nsqsupe, T.nsub, T.nsubE, T.nsube, T.nsubset, T.nsubseteq, T.nsubseteqq, T.nsucc, T.nsucceq, T.nsup, T.nsupE, T.nsupe, T.nsupset, T.nsupseteq, T.nsupseteqq, T.ntgl, T.Ntilde, T.ntilde, T.ntlg, T.ntriangleleft, T.ntrianglelefteq, T.ntriangleright, T.ntrianglerighteq, T.Nu, T.nu, T.num, T.numero, T.numsp, T.nvap, T.nVDash, T.nVdash, T.nvDash, T.nvdash, T.nvge, T.nvgt, T.nvHarr, T.nvinfin, T.nvlArr, T.nvle, T.nvlt, T.nvltrie, T.nvrArr, T.nvrtrie, T.nvsim, T.nwarhk, T.nwArr, T.nwarr, T.nwarrow, T.nwnear, T.Oacute, T.oacute, T.oast, T.ocir, T.Ocirc, T.ocirc, T.Ocy, T.ocy, T.odash, T.Odblac, T.odblac, T.odiv, T.odot, T.odsold, T.OElig, T.oelig, T.ofcir, T.Ofr, T.ofr, T.ogon, T.Ograve, T.ograve, T.ogt, T.ohbar, T.ohm, T.oint, T.olarr, T.olcir, T.olcross, T.oline, T.olt, T.Omacr, T.omacr, T.Omega, T.omega, T.Omicron, T.omicron, T.omid, T.ominus, T.Oopf, T.oopf, T.opar, T.OpenCurlyDoubleQuote, T.OpenCurlyQuote, T.operp, T.oplus, T.Or, T.or, T.orarr, T.ord, T.order, T.orderof, T.ordf, T.ordm, T.origof, T.oror, T.orslope, T.orv, T.oS, T.Oscr, T.oscr, T.Oslash, T.oslash, T.osol, T.Otilde, T.otilde, T.Otimes, T.otimes, T.otimesas, T.Ouml, T.ouml, T.ovbar, T.OverBar, T.OverBrace, T.OverBracket, T.OverParenthesis, T.par, T.para, T.parallel, T.parsim, T.parsl, T.part, T.PartialD, T.Pcy, T.pcy, T.percnt, T.period, T.permil, T.perp, T.pertenk, T.Pfr, T.pfr, T.Phi, T.phi, T.phiv, T.phmmat, T.phone, T.Pi, T.pi, T.pitchfork, T.piv, T.planck, T.planckh, T.plankv, T.plus, T.plusacir, T.plusb, T.pluscir, T.plusdo, T.plusdu, T.pluse, T.PlusMinus, T.plusmn, T.plussim, T.plustwo, T.pm, T.Poincareplane, T.pointint, T.Popf, T.popf, T.pound, T.Pr, T.pr, T.prap, T.prcue, T.prE, T.pre, T.prec, T.precapprox, T.preccurlyeq, T.Precedes, T.PrecedesEqual, T.PrecedesSlantEqual, T.PrecedesTilde, T.preceq, T.precnapprox, T.precneqq, T.precnsim, T.precsim, T.Prime, T.prime, T.primes, T.prnap, T.prnE, T.prnsim, T.prod, T.Product, T.profalar, T.profline, T.profsurf, T.prop, T.Proportion, T.Proportional, T.propto, T.prsim, T.prurel, T.Pscr, T.pscr, T.Psi, T.psi, T.puncsp, T.Qfr, T.qfr, T.qint, T.Qopf, T.qopf, T.qprime, T.Qscr, T.qscr, T.quaternions, T.quatint, T.quest, T.questeq, T.QUOT, T.quot, T.rAarr, T.race, T.Racute, T.racute, T.radic, T.raemptyv, T.Rang, T.rang, T.rangd, T.range, T.rangle, T.raquo, T.Rarr, T.rArr, T.rarr, T.rarrap, T.rarrb, T.rarrbfs, T.rarrc, T.rarrfs, T.rarrhk, T.rarrlp, T.rarrpl, T.rarrsim, T.Rarrtl, T.rarrtl, T.rarrw, T.rAtail, T.ratail, T.ratio, T.rationals, T.RBarr, T.rBarr, T.rbarr, T.rbbrk, T.rbrace, T.rbrack, T.rbrke, T.rbrksld, T.rbrkslu, T.Rcaron, T.rcaron, T.Rcedil, T.rcedil, T.rceil, T.rcub, T.Rcy, T.rcy, T.rdca, T.rdldhar, T.rdquo, T.rdquor, T.rdsh, T.Re, T.real, T.realine, T.realpart, T.reals, T.rect, T.REG, T.reg, T.ReverseElement, T.ReverseEquilibrium, T.ReverseUpEquilibrium, T.rfisht, T.rfloor, T.Rfr, T.rfr, T.rHar, T.rhard, T.rharu, T.rharul, T.Rho, T.rho, T.rhov, T.RightAngleBracket, T.RightArrow, T.Rightarrow, T.rightarrow, T.RightArrowBar, T.RightArrowLeftArrow, T.rightarrowtail, T.RightCeiling, T.RightDoubleBracket, T.RightDownTeeVector, T.RightDownVector, T.RightDownVectorBar, T.RightFloor, T.rightharpoondown, T.rightharpoonup, T.rightleftarrows, T.rightleftharpoons, T.rightrightarrows, T.rightsquigarrow, T.RightTee, T.RightTeeArrow, T.RightTeeVector, T.rightthreetimes, T.RightTriangle, T.RightTriangleBar, T.RightTriangleEqual, T.RightUpDownVector, T.RightUpTeeVector, T.RightUpVector, T.RightUpVectorBar, T.RightVector, T.RightVectorBar, T.ring, T.risingdotseq, T.rlarr, T.rlhar, T.rlm, T.rmoust, T.rmoustache, T.rnmid, T.roang, T.roarr, T.robrk, T.ropar, T.Ropf, T.ropf, T.roplus, T.rotimes, T.RoundImplies, T.rpar, T.rpargt, T.rppolint, T.rrarr, T.Rrightarrow, T.rsaquo, T.Rscr, T.rscr, T.Rsh, T.rsh, T.rsqb, T.rsquo, T.rsquor, T.rthree, T.rtimes, T.rtri, T.rtrie, T.rtrif, T.rtriltri, T.RuleDelayed, T.ruluhar, T.rx, T.Sacute, T.sacute, T.sbquo, T.Sc, T.sc, T.scap, T.Scaron, T.scaron, T.sccue, T.scE, T.sce, T.Scedil, T.scedil, T.Scirc, T.scirc, T.scnap, T.scnE, T.scnsim, T.scpolint, T.scsim, T.Scy, T.scy, T.sdot, T.sdotb, T.sdote, T.searhk, T.seArr, T.searr, T.searrow, T.sect, T.semi, T.seswar, T.setminus, T.setmn, T.sext, T.Sfr, T.sfr, T.sfrown, T.sharp, T.SHCHcy, T.shchcy, T.SHcy, T.shcy, T.ShortDownArrow, T.ShortLeftArrow, T.shortmid, T.shortparallel, T.ShortRightArrow, T.ShortUpArrow, T.shy, T.Sigma, T.sigma, T.sigmaf, T.sigmav, T.sim, T.simdot, T.sime, T.simeq, T.simg, T.simgE, T.siml, T.simlE, T.simne, T.simplus, T.simrarr, T.slarr, T.SmallCircle, T.smallsetminus, T.smashp, T.smeparsl, T.smid, T.smile, T.smt, T.smte, T.smtes, T.SOFTcy, T.softcy, T.sol, T.solb, T.solbar, T.Sopf, T.sopf, T.spades, T.spadesuit, T.spar, T.sqcap, T.sqcaps, T.sqcup, T.sqcups, T.Sqrt, T.sqsub, T.sqsube, T.sqsubset, T.sqsubseteq, T.sqsup, T.sqsupe, T.sqsupset, T.sqsupseteq, T.squ, T.Square, T.square, T.SquareIntersection, T.SquareSubset, T.SquareSubsetEqual, T.SquareSuperset, T.SquareSupersetEqual, T.SquareUnion, T.squarf, T.squf, T.srarr, T.Sscr, T.sscr, T.ssetmn, T.ssmile, T.sstarf, T.Star, T.star, T.starf, T.straightepsilon, T.straightphi, T.strns, T.Sub, T.sub, T.subdot, T.subE, T.sube, T.subedot, T.submult, T.subnE, T.subne, T.subplus, T.subrarr, T.Subset, T.subset, T.subseteq, T.subseteqq, T.SubsetEqual, T.subsetneq, T.subsetneqq, T.subsim, T.subsub, T.subsup, T.succ, T.succapprox, T.succcurlyeq, T.Succeeds, T.SucceedsEqual, T.SucceedsSlantEqual, T.SucceedsTilde, T.succeq, T.succnapprox, T.succneqq, T.succnsim, T.succsim, T.SuchThat, T.Sum, T.sum, T.sung, T.Sup, T.sup, T.sup1, T.sup2, T.sup3, T.supdot, T.supdsub, T.supE, T.supe, T.supedot, T.Superset, T.SupersetEqual, T.suphsol, T.suphsub, T.suplarr, T.supmult, T.supnE, T.supne, T.supplus, T.Supset, T.supset, T.supseteq, T.supseteqq, T.supsetneq, T.supsetneqq, T.supsim, T.supsub, T.supsup, T.swarhk, T.swArr, T.swarr, T.swarrow, T.swnwar, T.szlig, T.Tab, T.target, T.Tau, T.tau, T.tbrk, T.Tcaron, T.tcaron, T.Tcedil, T.tcedil, T.Tcy, T.tcy, T.tdot, T.telrec, T.Tfr, T.tfr, T.there4, T.Therefore, T.therefore, T.Theta, T.theta, T.thetasym, T.thetav, T.thickapprox, T.thicksim, T.ThickSpace, T.thinsp, T.ThinSpace, T.thkap, T.thksim, T.THORN, T.thorn, T.Tilde, T.tilde, T.TildeEqual, T.TildeFullEqual, T.TildeTilde, T.times, T.timesb, T.timesbar, T.timesd, T.tint, T.toea, T.top, T.topbot, T.topcir, T.Topf, T.topf, T.topfork, T.tosa, T.tprime, T.TRADE, T.trade, T.triangle, T.triangledown, T.triangleleft, T.trianglelefteq, T.triangleq, T.triangleright, T.trianglerighteq, T.tridot, T.trie, T.triminus, T.TripleDot, T.triplus, T.trisb, T.tritime, T.trpezium, T.Tscr, T.tscr, T.TScy, T.tscy, T.TSHcy, T.tshcy, T.Tstrok, T.tstrok, T.twixt, T.twoheadleftarrow, T.twoheadrightarrow, T.Uacute, T.uacute, T.Uarr, T.uArr, T.uarr, T.Uarrocir, T.Ubrcy, T.ubrcy, T.Ubreve, T.ubreve, T.Ucirc, T.ucirc, T.Ucy, T.ucy, T.udarr, T.Udblac, T.udblac, T.udhar, T.ufisht, T.Ufr, T.ufr, T.Ugrave, T.ugrave, T.uHar, T.uharl, T.uharr, T.uhblk, T.ulcorn, T.ulcorner, T.ulcrop, T.ultri, T.Umacr, T.umacr, T.uml, T.UnderBar, T.UnderBrace, T.UnderBracket, T.UnderParenthesis, T.Union, T.UnionPlus, T.Uogon, T.uogon, T.Uopf, T.uopf, T.UpArrow, T.Uparrow, T.uparrow, T.UpArrowBar, T.UpArrowDownArrow, T.UpDownArrow, T.Updownarrow, T.updownarrow, T.UpEquilibrium, T.upharpoonleft, T.upharpoonright, T.uplus, T.UpperLeftArrow, T.UpperRightArrow, T.Upsi, T.upsi, T.upsih, T.Upsilon, T.upsilon, T.UpTee, T.UpTeeArrow, T.upuparrows, T.urcorn, T.urcorner, T.urcrop, T.Uring, T.uring, T.urtri, T.Uscr, T.uscr, T.utdot, T.Utilde, T.utilde, T.utri, T.utrif, T.uuarr, T.Uuml, T.uuml, T.uwangle, T.vangrt, T.varepsilon, T.varkappa, T.varnothing, T.varphi, T.varpi, T.varpropto, T.vArr, T.varr, T.varrho, T.varsigma, T.varsubsetneq, T.varsubsetneqq, T.varsupsetneq, T.varsupsetneqq, T.vartheta, T.vartriangleleft, T.vartriangleright, T.Vbar, T.vBar, T.vBarv, T.Vcy, T.vcy, T.VDash, T.Vdash, T.vDash, T.vdash, T.Vdashl, T.Vee, T.vee, T.veebar, T.veeeq, T.vellip, T.Verbar, T.verbar, T.Vert, T.vert, T.VerticalBar, T.VerticalLine, T.VerticalSeparator, T.VerticalTilde, T.VeryThinSpace, T.Vfr, T.vfr, T.vltri, T.vnsub, T.vnsup, T.Vopf, T.vopf, T.vprop, T.vrtri, T.Vscr, T.vscr, T.vsubnE, T.vsubne, T.vsupnE, T.vsupne, T.Vvdash, T.vzigzag, T.Wcirc, T.wcirc, T.wedbar, T.Wedge, T.wedge, T.wedgeq, T.weierp, T.Wfr, T.wfr, T.Wopf, T.wopf, T.wp, T.wr, T.wreath, T.Wscr, T.wscr, T.xcap, T.xcirc, T.xcup, T.xdtri, T.Xfr, T.xfr, T.xhArr, T.xharr, T.Xi, T.xi, T.xlArr, T.xlarr, T.xmap, T.xnis, T.xodot, T.Xopf, T.xopf, T.xoplus, T.xotime, T.xrArr, T.xrarr, T.Xscr, T.xscr, T.xsqcup, T.xuplus, T.xutri, T.xvee, T.xwedge, T.Yacute, T.yacute, T.YAcy, T.yacy, T.Ycirc, T.ycirc, T.Ycy, T.ycy, T.yen, T.Yfr, T.yfr, T.YIcy, T.yicy, T.Yopf, T.yopf, T.Yscr, T.yscr, T.YUcy, T.yucy, T.Yuml, T.yuml, T.Zacute, T.zacute, T.Zcaron, T.zcaron, T.Zcy, T.zcy, T.Zdot, T.zdot, T.zeetrf, T.ZeroWidthSpace, T.Zeta, T.zeta, T.Zfr, T.zfr, T.ZHcy, T.zhcy, T.zigrarr, T.Zopf, T.zopf, T.Zscr, T.zscr, T.zwj, T.zwnj
HTML`expression-1`.T`3`.T.divide.T`5 = 0.6`.publish();
An entity of a character reference with the <ReferenceName>
is added to the end of the contents of the current element of this HTML
.
- <ReferenceName>
- The name of the character reference that is added to the end of the content of the current element of this
HTML
. See Function list.
This HTML
.
ReferenceError: <ReferenceName>
is not defined.
TypeError: <ReferenceName>
is not a function.
details...
HTML(container).$DIV.HTML` `.$;
HTML(container).$DIV.HTML(HTML().$SPAN.T`text`.$).$;
The html
is added to the end of the contents of the current element of this HTML
. The html
is the other instance of HTML
object or a string that contains the HTML code. If the html
is an instance of HTML
object, the contents of the root element of the html
are moved, and the html
will no longer be available.
- html
- The other instance of
HTML
object or a string that contains the HTML code that is added to the end of the contents of the current element of thisHTML
.
This HTML
.
SyntaxError: $
is missing.
TypeError: HTML()
is not a function.
details...
HTML'target-id'.$SPAN.T`text`.$.publish();
HTML'target-id'.$SPAN.T`text`.$.publish(true);
The target element that is specified in HTML()
or the contents of the target element are replaced with the contents of the root element of this HTML
. The event listeners for the event type 'public'
on the elements that the root element of this HTML
contains are called after being replaced. The contents of the root element of this HTML
are moved, and this HTML
will no longer be available.
- removeTarget
- If
true
, the contents of the root element are added where the target element is, the target element is removed, else the contents of the root element are added as the contents of the target element, the previous contents of the target element are removed.
SyntaxError: $
is missing.
details...
const html = HTML().$SPAN.T`text`.$.toString();
alert(HTML().$SPAN.T`text`.$);
The HTML code of the contents of the current element of this HTML
is retrieved as a string.
A string that contains the HTML code of the contents of the current element of this HTML
.
details...
const js = HTML().HTML
`<div>
<p class="p1" style="background-color: white;">
Converting from HTML to JavaScript...
</p>
</div>`
.toLocaleString();
The JavaScript code that manipulates an instance of HTML
object to have the same contents as the current element of this HTML
is retrieved as a string.
A string that contains the JavaScript code that manipulates an instance of HTML
object to have the same contents as the current element of this HTML
.
*1. Line breaks and whitespace characters following line breaks in text contents are ignored.
*2. Names of functions are computed. Therefore, functions may not be defined.
details...
HTML.prototype.defineTag("NEW-TAG");
delete HTML.prototype.$NEW_TAG;
const h = HTML();
h.defineTag("NEW-TAG");
delete h.$NEW_TAG;
A function is defined for the tag with the name
in future HTML or custom elements. The function is named in snake case if the name
contains a hyphen.
- name
- The name of the tag that the function is defined for.
details...
HTML.prototype.defineAttribute("new-attribute");
delete HTML.prototype.newAttribute;
const h = HTML();
h.defineAttribute("new-attribute");
delete h.newAttribute;
A function is defined for the attribute with the name
in future HTML. The function is named in camel case if the name
contains a hyphen.
- name
- The name of the attribute that the function is defined for.
details...
HTML.prototype.defineStyle("new-style");
delete HTML.prototype.s.newStyle;
const h = HTML();
h.defineStyle("new-style");
delete h.s.newStyle;
A function is defined for the style with the name
in future HTML. The function is named in camel case if the name
contains a hyphen.
- name
- The name of the style that the function is defined for.
details...
HTML.prototype.defineEvent("new-event");
delete HTML.prototype.on.newEvent;
const h = HTML();
h.defineEvent("new-event");
delete h.on.newEvent;
A function is defined for the event with the type
in future HTML. The function is named in camel case if the type
contains a hyphen.
- type
- The type of the event that the function is defined for.
details...
HTML.prototype.defineReference("NewReference");
delete HTML.prototype.T.NewReference;
const h = HTML();
h.defineReference("NewReference");
delete h.T.NewReference;
A function is defined for the character reference with the name
in future HTML.
- name
- The name of the character reference that the function is defined for.
©2022 katsu-oh, MIT License: https://github.com/katsu-oh/html.js/blob/main/LICENSE.