hyTags
HomeHome DocumentationDocumentation

Documentation

Main Concepts

  • Design Rationale: Why hyTags exists and what problems it solves.
  • Selection: How the selection model works.
  • Types: The type system and available data types.
  • Data Flow: Using the value stack and variables.

Usage

<script src="https://cdn.jsdelivr.net/npm/hytags@0.1.1/dist/hytags.min.js"></script>

Reference

Array
ArrayAppendArrayAppendArrayArrayContainsArrayCopyArrayGetArrayGetFirstArrayGetLastArrayGetSizeArrayInsertArrayIsEmptyArrayJoinArrayKeepFirstArrayKeepLastArrayLoopArrayMapArrayNewArrayPrependArrayPrependArrayArrayRemoveArrayRemoveDuplicatesArrayRemoveFirstArrayRemoveLastArrayReverseArraySelectArraySequenceArrayShuffleArraySortArraySortBy
Assert
AssertEqualAssertFalseAssertTrueAssertType
Attribute
AttributeDeleteAttributeExistsAttributeGetAttributeSet
Bool
BoolAllBoolAndBoolAnyBoolFalseBoolFromStringBoolIsEqualBoolNoneBoolNotBoolOrBoolToStringBoolTrue
Class
ClassAddClassExistsClassGetAllClassRemoveClassToggle
Closure
ClosureExecuteClosureNew
Cookie
CookieDeleteCookieGetNamesCookieGetValueCookieSet
Data
DataDeleteDataExistsDataGetDataSet
Date
DateAddDateFromStringDateGetDateGetDayOfWeekDateIsEqualDateIsGreaterDateIsLessDateNewDateNowDateSetDateToDateTimeDateToString
DateTime
DateTimeAddDateTimeDifferenceDateTimeFromStringDateTimeGetDateTimeGetDateDateTimeGetTimeDateTimeIsEqualDateTimeIsGreaterDateTimeIsLessDateTimeNewDateTimeNowDateTimeSetDateTimeToLocalDateTimeToStringDateTimeToUtc
Debug
DebugBreakDebugLogDebugStackValues
Element
ElementCloneElementGetNameElementNewElementToFragment
Error
ErrorGetCodeErrorGetMessageErrorIsNetworkErrorIsServer
Event
EventAllowDefaultEventAllowPropagationEventDispatchEventGetEventGetKeyEventGetMessageEventGetMouseXEventGetMouseYEventGetStateEventGetTargetEventGetTransferTextEventModifierKeyPressedEventNewEventSetTransferText
Form
FormGetDataFormGetValue
Fragment
FragmentFromStringFragmentGetElementsFragmentGetHtmlFragmentNewFragmentReplace
Function
FunctionCallFunctionDelayFunctionDetachFunctionResumeFunctionReturnFunctionSelectOwnerFunctionSelectSelfFunctionSuspend
If
IfFalseIfNilIfNotNilIfTrue
Input
InputGetValueInputIsCheckedInputIsDisabledInputSetCheckedInputSetDisabledInputSetValue
Items
Item
Javascript
JavascriptCallJavascriptEvaluateJavascriptGetJavascriptSet
Loop
LoopBreakLoopContinueLoopGetIndexLoopIsFirstLoopIsLastLoopWhile
Number
NumberAddNumberCeilNumberDivideNumberFloorNumberFromStringNumberIsEqualNumberIsGreaterNumberIsLessNumberModuloNumberMultiplyNumberNewNumberPowerNumberRandomNumberRoundNumberSubtractNumberSwitchNumberToString
Object
ObjectCopyObjectDeleteObjectGetObjectGetKeysObjectGetValuesObjectLogObjectNewObjectSetObjectUpdate
Page
PageGetCountryCodePageGetLanguageCodePageGetTitlePageGetUrlPagePushStatePageReplaceStatePageSetTitlePageSetUrl
Property
PropertyGetPropertySet
Rect
RectGetBottomRectGetHeightRectGetLeftRectGetRightRectGetTopRectGetWidth
Request
RequestDownloadRequestNewRequestSendRequestSetFormDataRequestSetObject
Response
ResponseGetErrorResponseGetFragmentResponseGetObjectResponseGetTextResponseIsErrorResponseIsFragmentResponseIsObjectResponseIsScriptResponseIsSuccess
Selection
SelectionAppendChildrenSelectionAppendFunctionSelectionBlurSelectionChangeSelectionDeleteSelectionFocusSelectionGetChildIndexSelectionGetChildrenSelectionGetElementSelectionGetFragmentSelectionGetFrameRectSelectionGetHtmlSelectionGetIntrinsicHeightSelectionGetIntrinsicWidthSelectionGetParentSelectionGetScrollXSelectionGetScrollYSelectionGetTextSelectionGetValueSelectionHasFocusSelectionInsertAfterSelectionInsertBeforeSelectionIsCheckedSelectionIsDisabledSelectionIsEqualToEventTargetSelectionIsFirstChildSelectionIsLastChildSelectionLogSelectionLoopSelectionPrependChildrenSelectionRemoveEventHandlerSelectionRemoveFromParentSelectionReplaceSelectionReplaceChildrenSelectionScopeSelectionScrollBottomSelectionScrollTopSelectionSendEventSelectionSetCheckedSelectionSetDisabledSelectionSetHtmlSelectionSetScrollXSelectionSetScrollYSelectionSetTextSelectionSetValueSelectionSortChildren
Storage
StorageDeleteStorageGetStorageSet
String
StringAppendStringCopyStringGetLengthStringGetPrefixStringGetSuffixStringHasPrefixStringHasSuffixStringIsEmptyStringIsEqualStringIsGreaterStringIsLessStringLowercaseStringMatchStringNewStringPrependStringRemoveFirstStringRemoveLastStringRemovePrefixStringRemoveSuffixStringReplaceStringScanStringSplitStringSwitchStringTrimStringUppercaseStringUuid
Style
StyleAnimateStyleCompleteStyleDeleteStyleGetStyleGetBottomStyleGetComputedStyleGetHeightStyleGetLeftStyleGetRightStyleGetTopStyleGetWidthStyleSetStyleWithoutAnimation
Time
TimeAddTimeFromStringTimeGetTimeIsEqualTimeIsGreaterTimeIsLessTimeNewTimeNowTimeSetTimeToDateTimeTimeToString
Url
UrlAddQueryParamUrlDeleteUrlDeleteQueryParamUrlFromStringUrlGetAnchorUrlGetHostUrlGetPathUrlGetPathComponentsUrlGetPortUrlGetQueryUrlGetQueryParamUrlGetSchemaUrlIsEqualUrlNewUrlSetUrlSetPathComponentsUrlToString
Value
ValueDefaultToValueDropValueGetValueIsNilValueIsNotNilValueNilValueScope
Var
VarGetVarSetVarUpdate
Window
WindowAwaitLayoutWindowGetHeightWindowGetScrollXWindowGetScrollYWindowGetWidthWindowRemoveFocusWindowScrollToBottomWindowScrollToTopWindowSetScrollXWindowSetScrollY
Test succeeded Test failed