Constructor
The condition that determines if the renderable gets rendered.
The renderable to render if the condition is true.
The renderable to render if the condition is false (and no truthy elif exists).
Getting for the HTML returned by the render function.
Appends templates to the existing templates object.
Key-value pairs that map to a template rendered in StringLiteral's
Whether or not to allow appended templates to override existing template properties
Adds a new elif block.
The condition that determines if the renderable gets rendered.
The renderable to render if the condition is true (and the if renderable is false).
Sets the else renderable.
The renderable to render if the condition is false (and no truthy elif exists).
Renders the internalRender function.
Templates to pass in
Render options
Overrides the toString method called by JavaScript when string concatenate occurs
Turn on and off the ability for this element to render
The condition that determines whether or not the element can render.
Sets the templates.
Key-value pairs that map to a template rendered in StringLiteral's
Generated using TypeDoc
The If class renders a Renderable based on a condition.