Zymantics <XML/>

<rapidWeb/>

Javascript - Dynamics

Sticky Elements

Scroll Effects

@scroll

<bs:scroll>

HTML5 Validation

AttributeDescription
@requiredMandatory
@patternRegular Expression
@maxLengthMax Length (blocking)
@minLengthMin Length
@minMin Value
@maxMax Value
@stepValue Steps

Datatype Validation

AttributeDescription
integer
decimal
email
tel
url
date
time
datetime
week
day
month
year

XML Schema SimpleType Validation

Datatype
AttributeDescription
xs:string
xs:decimal
xs:integer
xs:date
xs:time
xs:datetime
Facet
AttributeDescription
xs:minExclusiveAny value greater than this
xs:maxExclusiveAny value less than this
xs:minInclusiveAny value greater or equal to this
xs:maxInclusiveAny value less or equal to this
xs:totalDigitsMax total digits including both integer and decimal parts
xs:fractionDigitsMax decimal fraction digits
xs:lengthFixed length
xs:minLengthMin length
xs:maxLengthMax length
xs:fixedMust match this value
xs:minOccursMin instances
xs:maxOccursMax instances
Autocorrect
AttributeDescription
xs:whiteSpaceRemove whitespaces [preserve | replace | collapse]
xs:defaultInsert if value is empty

Cross Field Validation

Multiple field based validation

 
 

@toggle

@toggle defines the Javascript action (function). Becomes @data-{prefix}-toggle.

ID System

@id

PrefixXMLHTMLDescription
no prefix{ID}{prefix}{ID}Adding prefix
++{ID}{ID}preserve

@name

Is only used on input controls.

No prefixing

@itemname

Becomes @data-itemname in HTML

@target, @selector, @scope

@target is used for pointing to the result item of action defined in @toggle (@data-toggle or @data-bs-toggle etc.).

input@target is pointing at another input by @name (if without a prefix).

@selector is used for pointing for the activating item.

@scope is used for setting the scope of the id in @target or @selector.

<bs:scope> is tag based scoping defining the scope without setting a @scope attribute.

PrefixXMLHTMLDescription
{no prefix}html tag name (or input@name)html tag name (or input@name)css class
..{class}.{class}css class
#{ID}#{prefix}{ID}Referring to the @id (ID)
++{ID}{ID}Preserving ID
::::{tagname}{ID}translate tag to ID
@@itemname={name}@data-itemname={name}, @data-target=@{name}Adressing by itemname
%%{itemname} targetting @itemname@id={localID}, @data-target=#{localID}Translating @itemname into @id="{localID}"

Becomes @data-target, @data-scope, @data-selector

@tabname & @tabref

Used for targetting tabs and dialogs

The target tab item is having a @tabname={tabname}, and the referring tab item (without tab pane) is having a @tabref={tabname} adding @data-bs-target=#{ID}

Works same as @itemname and @target="%{itemname}"

@parent

@parent is used for scoping the action. @parent becomes @data-parent (or @data-bs-parent)

ID segments

SegmentContentExampleDescription
Prefix{prefix}D25Prefixing
ID{ID}D251234The basic ID
Input-group segment_{counter}D251234_3Used for numbering the segments of the input-group
Proxy_XD251234_XUsed for the proxy of the input or input-group
RowX{row}D251234X4Row in table
MultipleT{instance}D251234T4Is used for numbering elements of a multiple control
Master_MD251234_MIs used for master part of master-details navigation
Details_DD251234_DIs used for details part of master-details navigation
Container_OD251234_OIs used for outer element in bs:input etc.

@template="{name}" & <bs:template name="{name}">

@template="{name}" is used to refer to html <template name="{name}"> (for js)

Custom Javascript

Use can easily add conditional custom Javascript.





Oops

Your browser is not supported

A modern browser with Javascript ES6 is required

Any major browser from 2015 onwards will be suitable