Module

utils/dom/isvalidattributename

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

module

Filtering

Functions

  • isValidAttributeName( name ) → boolean

    Checks if the given attribute name is valid in terms of HTML.

    Parameters

    name : string

    Attribute name.

    Returns

    boolean