Links

Get Project Settings

<Object|String|null> LViS.Project.getSettings([<String> name])
Returns list of values for project settings which user can specify to customise an instance of an app connected to a specific project:
  • object of all settings if name wasn't set
  • string value if name was passed as argument
  • null if no setting was found for the specified name

Example

var allSettings = LViS.Project.getSettings();
// {
// foo: "1",
// bar: "2",
// ...
// baz: "N"
// }
var foo = LViS.Project.getSettings('foo');
// "1"
var foo = LViS.Project.getSettings('qux');
// null