Modules
Objects/Functions
SuiteScript 2.0
{Message}.show(){duration: {int|string}})
N/ui/message Module
Message.show()
Method Description:
Shows the message.
Returns:
void
Supported Script Types:
Client scripts
For more information, see SuiteScript 2.0 Client Script Type.
Governance:
None
Module:
N/ui/message Module
Since:
2016.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Message.show()
Example:
// Code Example 1
//Add additional code
...
var myMsg = message.create({
title: "My Title 2",
message: "My Message 2",
type: message.Type.INFORMATION
});
myMsg.show({ duration : 1500 });
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4497866594.html