types#AlertType TypeScript Examples

The following examples show how to use types#AlertType. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: alert.ts    From gear-js with GNU General Public License v3.0 5 votes vote down vote up
DEFAULT_INFO_OPTIONS: DefaultTemplateOptions = {
  ...DEFAULT_OPTIONS,
  type: AlertType.INFO,
}
Example #2
Source File: alert.ts    From gear-js with GNU General Public License v3.0 5 votes vote down vote up
DEFAULT_ERROR_OPTIONS: DefaultTemplateOptions = {
  ...DEFAULT_OPTIONS,
  type: AlertType.ERROR,
}
Example #3
Source File: alert.ts    From gear-js with GNU General Public License v3.0 5 votes vote down vote up
DEFAULT_SUCCESS_OPTIONS: DefaultTemplateOptions = {
  ...DEFAULT_OPTIONS,
  type: AlertType.SUCCESS,
}
Example #4
Source File: alert.ts    From gear-js with GNU General Public License v3.0 5 votes vote down vote up
DEFAULT_LOADING_OPTIONS: DefaultTemplateOptions = {
  ...DEFAULT_OPTIONS,
  type: AlertType.LOADING,
  isClosed: false,
  timeout: 0,
}