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
selectedClass Adds a class for styling a selected thumbnail
component Type<unknown>
gallery DaffMediaGalleryRegistration
class true Adds a class for styling a thumbnail
selected false A prop for determining whether or not the media element is selected.
@Output() becameSelected EventEmitter<void> An event that fires after the media element becomes selected. onClick Adds a click event to trigger selection of the media element.
ngOnInit void
ngOnDestroy void
select
deselect
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.