Home Reference Source

Variable

Static Public Summary
public

clientLocale(defaultLocale: string): string: *

Figures out what locale the browser is running as

public

move(from: string | VFSFile, to: string | VFSFile, options: VFSMethodOptions): Promise<boolean>: *

Alias of 'rename'

public

nullAdapter(core: Core, options: object): {"capabilities": *, "readdir": *, "readfile": *, "writefile": *, "copy": *, "rename": *, "mkdir": *, "unlink": *, "exists": *, "stat": *, "url": *, "mount": *, "unmount": *, "search": *, "touch": *}

Null VFS adapter

public

Checks if passive events is supported

public

Gets if CSS transitions is supported

Static Public

public clientLocale(defaultLocale: string): string: * source

import {clientLocale} from '@osjs/client/src/utils/locale.js'

Figures out what locale the browser is running as

Return:

string

The browser locale

public move(from: string | VFSFile, to: string | VFSFile, options: VFSMethodOptions): Promise<boolean>: * source

import {move} from '@osjs/client/src/vfs.js'

Alias of 'rename'

Return:

Promise<boolean>

public nullAdapter(core: Core, options: object): {"capabilities": *, "readdir": *, "readfile": *, "writefile": *, "copy": *, "rename": *, "mkdir": *, "unlink": *, "exists": *, "stat": *, "url": *, "mount": *, "unmount": *, "search": *, "touch": *} source

import nullAdapter from '@osjs/client/src/adapters/vfs/null.js'

Null VFS adapter

public supportsPassive: boolean: * source

import {supportsPassive} from '@osjs/client/src/utils/dom.js'

Checks if passive events is supported

Return:

boolean

public supportsTransition: boolean: * source

import {supportsTransition} from '@osjs/client/src/utils/dom.js'

Gets if CSS transitions is supported

Return:

boolean