Class DefaultContentListItemComponent
java.lang.Object
io.mindspice.simplypages.components.content.DefaultContentListItemComponent
- All Implemented Interfaces:
ContentListItemComponent, Component
Default section index card component for static content entries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()render(RenderContext context) Renders this component using the supplied render context.withAuthor(String author) withPublishedAt(String publishedAt) withSummary(String summary)
-
Constructor Details
-
DefaultContentListItemComponent
public DefaultContentListItemComponent()
-
-
Method Details
-
create
-
withSlug
- Specified by:
withSlugin interfaceContentListItemComponent
-
withRoute
- Specified by:
withRoutein interfaceContentListItemComponent
-
withTitle
- Specified by:
withTitlein interfaceContentListItemComponent
-
withSummary
- Specified by:
withSummaryin interfaceContentListItemComponent
-
withAuthor
- Specified by:
withAuthorin interfaceContentListItemComponent
-
withPublishedAt
- Specified by:
withPublishedAtin interfaceContentListItemComponent
-
withTags
- Specified by:
withTagsin interfaceContentListItemComponent
-
render
Description copied from interface:ComponentRenders this component using the supplied render context.
-