UNPKG

@imput/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js

25 lines (24 loc) 643 B
import { YTNode } from '../helpers.js'; import { type RawNode } from '../index.js'; import { Text, Thumbnail } from '../misc.js'; import NavigationEndpoint from './NavigationEndpoint.js'; export type Option = { title: Text; subtitle: Text; leading_image: Thumbnail; value: { privacy_status_value?: string; }; on_tap: NavigationEndpoint; is_selected: boolean; }; export default class DropdownView extends YTNode { static type: string; label: Text; placeholder_text: Text; disabled: boolean; options?: Option[]; dropdown_type: string; id: string; constructor(data: RawNode); }