Skip to content

Latest commit

 

History

History
218 lines (110 loc) · 3.44 KB

FileDownloadFormatter.md

File metadata and controls

218 lines (110 loc) · 3.44 KB

@serenity-is/corelib / FileDownloadFormatter

Class: FileDownloadFormatter

Implements

Constructors

new FileDownloadFormatter()

new FileDownloadFormatter(props): FileDownloadFormatter

Parameters

props
props.displayFormat

string

props.iconClass

string

props.originalNameProperty

string

Returns

FileDownloadFormatter

Defined in

src/ui/formatters/formatters.ts:149

Properties

props

readonly props: object = {}

displayFormat?

optional displayFormat: string

iconClass?

optional iconClass: string

originalNameProperty?

optional originalNameProperty: string

Defined in

src/ui/formatters/formatters.ts:149

Accessors

displayFormat

Get Signature

get displayFormat(): string

Returns

string

Set Signature

set displayFormat(value): void

Parameters
value

string

Returns

void

Defined in

src/ui/formatters/formatters.ts:185


iconClass

Get Signature

get iconClass(): string

Returns

string

Set Signature

set iconClass(value): void

Parameters
value

string

Returns

void

Defined in

src/ui/formatters/formatters.ts:191


originalNameProperty

Get Signature

get originalNameProperty(): string

Returns

string

Set Signature

set originalNameProperty(value): void

Parameters
value

string

Returns

void

Defined in

src/ui/formatters/formatters.ts:188

Methods

format()

format(ctx): string

Parameters

ctx

FormatterContext<any>

Returns

string

Implementation of

Formatter.format

Defined in

src/ui/formatters/formatters.ts:153


initializeColumn()

initializeColumn(column): void

Parameters

column

Column<any>

Returns

void

Implementation of

IInitializeColumn.initializeColumn

Defined in

src/ui/formatters/formatters.ts:177


dbFileUrl()

static dbFileUrl(filename): string

Parameters

filename

string

Returns

string

Defined in

src/ui/formatters/formatters.ts:172