I'm having issue trying to add videos in dynamic mode for angular. This is due to the interface / data type of the GalleryItem requiring HTML elements. Could this be a mistake?
Steps to reproduce
For example in this code, typescript would throw an error. I tried the following the codepen made by @sachinchoolur here . I got the sample from #567
Currently this is the interface for the GalleryItem
export interface GalleryItem {
// .... Omitted some stuff not related to video
/**
* Video source
* @data-attr data-video
*/
video?: VideoSource;
/**
* Poster url
* @data-attr data-poster
*/
poster?: string;
// .... Omitted some stuff not related to video
[key: string]: any;
}
The video attribute has the VideoSource interface, tracing further...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
I'm having issue trying to add videos in dynamic mode for angular. This is due to the interface / data type of the
GalleryItem
requiring HTML elements. Could this be a mistake?Steps to reproduce
For example in this code, typescript would throw an error. I tried the following the codepen made by @sachinchoolur here . I got the sample from #567
Context
Currently this is the interface for the
GalleryItem
The
video
attribute has theVideoSource
interface, tracing further...Which doesn't match the documentations nor the example codepen
Environment