File

src/lib/logging-viewer-modal/logging-viewer-modal-properties.model.ts

Description

Describes all properties which can be passed to the LoggingViewerModalComponent.

Index

Properties

Properties

allowClearLogs
allowClearLogs: boolean
Type : boolean
Optional

Flag showing a delete button, which removes all existing log messages.

language
language: string
Type : string
Optional

Language to be used for the modal. Currently supported: en, de

localStorageKeys
localStorageKeys: string
Type : string
Optional

Comma-separated list of localStorageKeys. If set, the logs get loaded from localStorage instead of memory.

translation
translation: LoggingViewerTranslation
Type : LoggingViewerTranslation
Optional

Translation to be used for the modal. If specified, the language is ignored.

import { LoggingViewerTranslation } from "../logging-viewer-translation.model";

/**
 * Describes all properties which can be passed to the
 * [LoggingViewerModalComponent](../classes/LoggingViewerModalComponent.html).
 */
export interface LoggingViewerModalProperties {

	/**
	 * Language to be used for the modal.
	 * Currently supported: en, de
	 */
	language?: string;

	/**
	 * Translation to be used for the modal.
	 * If specified, the language is ignored.
	 */
	translation?: LoggingViewerTranslation;

	/**
	 * Comma-separated list of localStorageKeys. If set, the logs get loaded from localStorage instead of memory.
	 */
	localStorageKeys?: string;

	/**
	 * Flag showing a delete button, which removes all existing log messages.
	 */
	allowClearLogs?: boolean;
}

result-matching ""

    No results matching ""