Class ListItem
java.lang.Object
io.mindspice.simplypages.core.HtmlTag
io.mindspice.simplypages.components.ListItem
- All Implemented Interfaces:
Component
Mutable list item wrapper with escaped text content.
Configure before sharing; rendering does not mutate the text payload.
-
Field Summary
Fields inherited from class HtmlTag
attributes, children, id, innerText, innerTextSlot, selfClosing, tagName, trustedHtml -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HtmlTag
addClass, addStyle, addTrustedStyle, getChildrenStream, getId, hxDelete, hxGet, hxInclude, hxPatch, hxPost, hxPushUrl, hxPut, hxScrollTargetTop, hxSwap, hxTarget, hxTrigger, withAttribute, withChild, withClass, withInnerText, withInnerText, withMaxWidth, withMinWidth, withUnsafeHtml, withWidth
-
Constructor Details
-
ListItem
public ListItem()
-
-
Method Details
-
create
-
create
-
withId
-
withText
-
getText
-
render
Description copied from class:HtmlTagRenders opening tag, text payload, child output, and closing tag.Security contract: slot and plain text are escaped; trusted HTML payload is emitted verbatim.
-
render
-