DaffThumbnailDirective

A directive marking thumbnails for the DaffMediaRendererComponent. Needs to be wrapped in a daff-media-gallery component and needs to be placed on a component that is provided as a daffThumbnailCompatToken.

Selector: '[daffThumbnail]'

Properties

Name Type Description
component Type<unknown>
gallery DaffMediaGalleryRegistration
selected
select
deselect
class true Adds a class for styling a thumbnail
onClick Adds a click event to trigger selection of the media element.
ngOnInit void
ngOnDestroy void
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.