Home Reference Source
public class | source

AdvancedMessages

You can directly use an instance of this class. advancedMessages

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

alert(param: *, title: *, type: *, timeout: *)

public

async confirm(message: *): boolean

public

input(message: *): *

public

log(cliMsg: *, browserMsg: *)

public

async readNumber(message: *, isFloat: boolean): *

Private Methods
private

_questionCLI(message: *): *

Public Constructors

public constructor() source

Public Members

public WEBD_CLI: * source

Public Methods

public alert(param: *, title: *, type: *, timeout: *) source

Params:

NameTypeAttributeDescription
param *
title *
type *
timeout *

public async confirm(message: *): boolean source

Params:

NameTypeAttributeDescription
message *

Return:

boolean

public input(message: *): * source

Params:

NameTypeAttributeDescription
message *

Return:

*

public log(cliMsg: *, browserMsg: *) source

Params:

NameTypeAttributeDescription
cliMsg *
browserMsg *

public async readNumber(message: *, isFloat: boolean): * source

Params:

NameTypeAttributeDescription
message *
isFloat boolean
  • optional
  • default: false

Return:

*

Private Methods

private _questionCLI(message: *): * source

Params:

NameTypeAttributeDescription
message *

Return:

*