Module

utils/dom/tounit

@ckeditor/ckeditor5-utils/src/dom/tounit

module

Filtering

Type Definitions

Functions

  • toUnit( unit ) → ToUnitHelper

    Returns a helper function, which adds a desired trailing unit to the passed value.

    Parameters

    unit : string

    An unit like "px" or "em".

    Returns

    ToUnitHelper