Package dev.aurelium.slate.function
Interface ComponentVisibility<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 TypeMethodDescriptionbooleanshouldShow(ComponentInfo<T> info) Determines if a component should be shown in a template or item.
-
Method Details
-
shouldShow
Determines if a component should be shown in a template or item.- Parameters:
info- theComponentInfocontext object- Returns:
- true if the component should be shown, false otherwise
-