NodeExt extension
DOM Node extension to make more easy call certain operations or validations
- on
-
- Element
Properties
- isBlockquote → bool
-
Ensure to detect blockquote html tags
no setter
- isBreakLine → bool
-
Ensure to detect br html tags
no setter
- isCodeBlock → bool
-
Ensure to detect pre,code html tags
no setter
- isDivBlock → bool
-
Ensure to detect div html tags
no setter
- isHeader → bool
-
Ensure to detect h(1-6) html tags
no setter
- isImg → bool
-
Ensure to detect img html tags
no setter
- isItalic → bool
-
Ensure to detect italic html tags
no setter
- isLink → bool
-
Ensure to detect a html tags
no setter
- isList → bool
-
Ensure to detect li,ul,ol, html tags
no setter
- isParagraph → bool
-
Ensure to detect p html tags
no setter
- isSpan → bool
-
Ensure to detect span html tags
no setter
- isStrike → bool
-
Ensure to detect strikethrough html tags
no setter
- isStrong → bool
-
Ensure to detect bold html tags
no setter
- isSubscript → bool
-
Ensure to detect sub html tags
no setter
- isSuperscript → bool
-
Ensure to detect sup html tags
no setter
- isUnderline → bool
-
Ensure to detect underline html tags
no setter
- isVideo → bool
-
Ensure to detect video html tags
no setter
Methods
-
getAttribute(
String attr) → String? -
getSafeAttribute(
String attr) → String