format
Returns a new instance, with messages formatted using the provided arguments.
format(...args: any[]): MessageDialogOptions
Notes
- This method can only format strings that are instances of LazyString, i.e. the result of the strf() function.
Related
- class MessageDialogOptionsA representation of the contents of an alert or confirm dialog.
- format(…args)Replaces placeholders in the string with string-formatted values.