@BindElement(name="with") public class WithComponent<T> extends AbstractComponent
| Constructor and Description |
|---|
WithComponent(Slot slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
T |
getVariable() |
void |
render() |
void |
setContent(Fragment content) |
void |
setValue(java.util.function.Supplier<T> value) |
getSlotpublic WithComponent(Slot slot)
@BindContent public void setContent(Fragment content)
@BindAttribute(name="var") public T getVariable()
@BindAttribute(name="value") public void setValue(java.util.function.Supplier<T> value)
public void render()
public void destroy()
destroy in interface Renderabledestroy in class AbstractComponentCopyright © 2019. All rights reserved.