display-google-type-date

display-google-type-date #

@furo/ui5 v1.18.0
import '@furo/ui5/src/typerenderer/display-google-type-date.js';
exports DisplayGoogleTypeDate js
exports <display-google-type-date> custom-element-definition
superclass LitElement

Summary: display renderer for google.type.Date

Description #

display-google-type-date The display-google-type-date component displays a FieldNode of type google.type.Date in read only mode.

The component uses locale from the environment to display the date value accordingly. https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format

Every display-xxx component should implement the following API:

  • function: bindData(fieldNode){…}

Attributes and Properties #

Methods #

bindData #

bindData(fieldNode FieldNode ) ⟹ void

FieldNode fn-bind-data

Binds a field node to the component

  • fieldNode

_formatDisplay #

_formatDisplay() ⟹ void

*fn–format-display