Package dev.aurelium.slate.function
Interface TemplateSlot<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescription@Nullable SlotPosget(TemplateInfo<T> info) Gets the slot position of a template instance.
-
Method Details
-
get
Gets the slot position of a template instance.- Parameters:
info- theTemplateInfocontext object- Returns:
- the slot position, or null if the instance should not be displayed
-