PrioritiesType (utils)
@ckeditor/ckeditor5-utils/src/priorities
interface
Provides group of constants to use instead of hardcoding numeric priority values.
Filtering
Properties
Methods
-
get( [ priority ] ) → number
module:utils/priorities~PrioritiesType#get
Converts a string with priority name to it's numeric value. If
Number
is given, it just returns it.Parameters
[ priority ] : PriorityString
Priority to convert.
Returns
number
Converted priority.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.