Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SfUnitDirective

API reference for SfUnitDirective

import {SfCommonModule} from "@progress/sitefinity-component-framework";


attribute: sfUnit description: Adds a unit to the element

Hierarchy

  • SfUnitDirective

Index

Properties

Accessors

Methods

Properties

sfUnit

sfUnit: string

Sets the unit value

Accessors

innerHtml

  • get innerHtml(): string
  • Sets a formatted unit to the innerHtml if sfUnit is set

    Returns string

Methods

Private wrapInSuperscript

  • wrapInSuperscript(value: string): string
  • Sets the last character of the unit as a substring if it is a number

    Parameters

    • value: string

    Returns string

Generated using TypeDoc