Winter Cardinal UI - v0.442.0 / FormatNodePadding

Class: FormatNodePadding

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new FormatNodePadding(length, character, node): FormatNodePadding

Parameters

Name Type
length number
character string
node FormatNode

Returns

FormatNodePadding

Defined in

src/main/typescript/wcardinal/ui/util/format-node/format-node-padding.ts:14

Properties

character

Protected character: string

Defined in

src/main/typescript/wcardinal/ui/util/format-node/format-node-padding.ts:11


length

Protected length: number

Defined in

src/main/typescript/wcardinal/ui/util/format-node/format-node-padding.ts:10


node

Protected node: FormatNode

Defined in

src/main/typescript/wcardinal/ui/util/format-node/format-node-padding.ts:12

Methods

format

format(target, step, date): string

Parameters

Name Type
target number
step number
date Date

Returns

string

Implementation of

FormatNode.format

Defined in

src/main/typescript/wcardinal/ui/util/format-node/format-node-padding.ts:20