cluedin-widget
Version:
This is the project for creating and managing widgets in CluedIn.
28 lines • 1.1 kB
JavaScript
module.exports = {
'Widget': {
name: 'Widget Component',
purpose: 'The widget is used to segment information in CluedIn. It provides a default structure for the end-users to have a consistent way to show segmented data in CluedIn',
useCases: [
{
name: 'Widget with Title',
parameters: {
title: 'This is a widget',
menu: [ {
type: 'Action', icon: 'fa fa-trash-o', title: 'Boom!', onClick: function() {
alert( 'boom!' );
}
}, {
type: 'Action', title: 'Bim!', onClick: function() {
alert( 'bim!' );
}
}, {
type: 'Action', title: 'Bam!', onClick: function() {
alert( 'bam!' );
}
} ]
}
},
{ name: 'Widget with Loading', parameters: { loading: true } }
]
}
};