Add latest client helpers
This commit is contained in:
parent
82fd4f7414
commit
ed3ac5bd41
@ -29,6 +29,20 @@ function register ({ registerHook, peertubeHelpers }) {
|
||||
}
|
||||
})
|
||||
|
||||
peertubeHelpers.showModal({
|
||||
title: 'my super modal',
|
||||
content: 'hello, do you like my modal?',
|
||||
close: true,
|
||||
cancel: {
|
||||
value: 'Cancel',
|
||||
action: () => console.log('Canceled')
|
||||
},
|
||||
confirm: {
|
||||
value: 'Confirm',
|
||||
action: () => console.log('Confirmed')
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
export {
|
||||
|
@ -45,6 +45,8 @@ function register ({ registerHook, peertubeHelpers }) {
|
||||
return result
|
||||
}
|
||||
})
|
||||
|
||||
peertubeHelpers.notifier.info('you are on the watch page', 'useless', 1000)
|
||||
}
|
||||
|
||||
export {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "peertube-plugin-hello-world",
|
||||
"version": "0.0.14",
|
||||
"version": "0.0.15",
|
||||
"description": "Hello world PeerTube plugin example",
|
||||
"engine": {
|
||||
"peertube": ">=1.3.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user