Just when i thought i had got my head around such things.
Written several custom formatters and had no issues
Now on my first tries of custom modules and having on issue regarding returned values
I have a very simple module
exports.tester = function () {
return 100
}
I have this hjson
{
type: 'tester',
module : 'tester'
action : 'tester',
groupTitle : 'tester',
groupIcon : 'fas fa-lg fa-table comp-data',
title : 'tester',
icon : 'fas fa-lg fa-table comp-data ',
dataPickObject: true,
dataScheme: [
{name: 'status', type: 'number', optionName: 'status'}
],
properties : [
{
group: 'tester',
variables: [
{ name: 'output', optionName: 'output', title: 'Output', type: 'boolean', defaultValue: true }
]
}
]
}
When i output this should i not see “status” output with a value of 100 i.e.status: 100
Community Page
Last updated:
Last updated: