Typedef

ToUnitHelper (utils/dom)

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

typedeffunction

A function, which adds a pre–defined trailing unit to the passed value.

Filtering

Parameters

value : string | number

A value to be given the unit.

Returns

string

A value with the trailing unit.