mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
15 lines
421 B
JavaScript
15 lines
421 B
JavaScript
import Text from './misc/Text';
|
|
import NavigationEndpoint from './NavigationEndpoint';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class MusicNavigationButton extends YTNode {
|
|
static type = 'MusicNavigationButton';
|
|
|
|
constructor(data) {
|
|
super();
|
|
this.button_text = new Text(data.buttonText).toString();
|
|
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
|
|
}
|
|
}
|
|
|
|
export default MusicNavigationButton; |