Home Reference Source Repository
import Environment from 'rodan-client/js/Shared/Environment.js'
public class | source

Environment

Global environment constants.

Static Method Summary

Static Public Methods
public static

Get multiple selection key.

public static

Returns string denoting detected operating system.

public static

Get range selection key.

Static Public Methods

public static getMultipleSelectionKey(): string source

Get multiple selection key.

Return:

string

returns 'contol' or 'command', depending on OS

public static getOS(): string source

Returns string denoting detected operating system.

Return:

string

'Windows', 'MacOS', 'UNIX', 'Linux', or 'Unknown OS'

public static getRangeSelectionKey(): string source

Get range selection key.

Return:

string

returns range selection key (e.g. 'shift'), depending on OS