display-google-protobuf-timestamp

display-google-protobuf-timestamp #

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

Summary: display renderer for google.protobuf.Timestamp

Description #

display-google-protobuf-timestamp The display-google-protobuf-timestamp component displays a FieldNode of type google.prtobuf.Timestamp 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