mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 09:32:12 +00:00
16 lines
407 B
TypeScript
16 lines
407 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
import Thumbnail from './misc/Thumbnail.js';
|
|
|
|
export default class ContentPreviewImageView extends YTNode {
|
|
static type = 'ContentPreviewImageView';
|
|
|
|
image: Thumbnail[];
|
|
style: string;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.image = Thumbnail.fromResponse(data.image);
|
|
this.style = data.style;
|
|
}
|
|
} |