Milestone v1.9.0 was closed with 8 issues.
What's new
Highlights
- Native message boxes API was added.
- Resolved path issues. Now users can launch Neutralinojs apps from any working directory.
- Improvements are done in the source code. Refactored the codebase by moving platform-independent code to a directory.
- Bug fixes.
Native message boxes API
Now developers can have native message boxes in their Neutralinojs applications via the Neutralino.os.showMessageBox(Object options)
method. The options
object should contain the following properties.
string title
: Title of the message box.string content
: Message box's content.string type
: Type of the message box. Accepted values areINFO
,WARN
,ERROR
, andQUESTION
.
Neutralinojs server will include the boolean yesClicked
property into the response only for the question-type message boxes.
Example:
const options = {title: "Hello", content: "This is an example", type: "INFO"};
Neutralino.os.showMessageBox(options, function() { }, function() { });
Please notice that the macOS version of Neutralino is not having the most features. We will try to bring it to the same level soon.