UNPKG

@imput/youtubei.js

Version:

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

14 lines 469 B
import { YTNode } from '../helpers.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; class ItemSectionTab extends YTNode { constructor(data) { super(); this.title = new Text(data.title); this.selected = !!data.selected; this.endpoint = new NavigationEndpoint(data.endpoint); } } ItemSectionTab.type = 'Tab'; export default ItemSectionTab; //# sourceMappingURL=ItemSectionTab.js.map