Add descriptions

This commit is contained in:
Henri Bergius 2017-11-29 15:12:00 +01:00
parent 09e5147859
commit 4383a14ae7

View file

@ -16,21 +16,24 @@ function DisplayParticipant(broker, role, defaultUrls, timer) {
let participant; let participant;
const def = { const def = {
component: 'msgflo-browser/infodisplay', component: 'msgflo-browser/infodisplay',
label: 'Browser-based information display', label: 'Show URL on a public screen.',
icon: 'television', icon: 'television',
inports: [ inports: [
{ {
id: 'open', id: 'open',
description: 'URL to be opened',
type: 'string', type: 'string',
}, },
{ {
id: 'urls', id: 'urls',
description: 'URL list for rotation',
type: 'array', type: 'array',
}, },
], ],
outports: [ outports: [
{ {
id: 'opened', id: 'opened',
description: 'The URL that has been opened and is showing.',
type: 'string', type: 'string',
}, },
{ {