API Reference / @dasch-ng/utils / intl/src / IntlRelativeTimeOptions
Interface: IntlRelativeTimeOptions
Defined in: libs/ng/utils/intl/src/lib/intl-relative-time.pipe.ts:4
Extends
RelativeTimeFormatOptions
Properties
localeMatcher?
optionallocaleMatcher?:RelativeTimeFormatLocaleMatcher
Defined in: node_modules/typescript/lib/lib.es2020.intl.d.ts:106
The locale matching algorithm to use. For information about this option, see Intl page.
Inherited from
Intl.RelativeTimeFormatOptions.localeMatcher
now?
optionalnow?:number|Date
Defined in: libs/ng/utils/intl/src/lib/intl-relative-time.pipe.ts:6
Reference point, default the current time. Pass a signal value to refresh the output.
numeric?
optionalnumeric?:RelativeTimeFormatNumeric
Defined in: node_modules/typescript/lib/lib.es2020.intl.d.ts:108
The format of output message.
Inherited from
Intl.RelativeTimeFormatOptions.numeric
style?
optionalstyle?:RelativeTimeFormatStyle
Defined in: node_modules/typescript/lib/lib.es2020.intl.d.ts:110
The length of the internationalized message.
Inherited from
Intl.RelativeTimeFormatOptions.style