InlineInterface
API reference › HTML Contracts › Element › InlineInterface
Implemented by 1 type
Defines a contract for renderable HTML elements that render as single-line elements.
In this library, “Inline” refers to elements rendered on the same line, not HTML’s standard inline-level content categories.
Combines rendering capability with the child content API inherited from ContentInterface.
See also: https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
content() abstract | Appends encoded content. | ContentInterface |
getContent() abstract | Returns the content assigned to the element. | ContentInterface |
html() abstract | Appends trusted raw HTML content without encoding or sanitizing it. | ContentInterface |
render() abstract | Renders the object as an HTML string. | UIAwesome\ |