2.3.0 • Published 4 years ago

oe-info v2.3.0

Weekly downloads
25
License
MIT
Repository
github
Last release
4 years ago

\<oe-info>

<oe-info> is used to display formatted values of numeric, string and date type.

Date

Import moment.js in document level to support 'format' options for date and timestamp type.

Styling

<oe-info> provides the following custom properties and mixins for styling:

Custom propertyDescriptionDefault
--oe-info-labelMixin applied to label section{}
--oe-info-valueMixin applied to value section{}
  <oe-info label="Balance" type="number" precision=2 value="3423434.34324"></oe-info>

  <oe-info label="Balance" format="Account Balance is @v" value="3423434.34324"></oe-info>

  <oe-info format="The name is $[name]" value='{"name":"Bond"}'></oe-info>