We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.
Package com.vaadin.flow.internal
Class CustomElementNameValidator
java.lang.Object
com.vaadin.flow.internal.CustomElementNameValidator
Validates custom-element name according to definition in Custom element name
For internal use only. May be renamed or removed in a future release.
Since:
1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCustomElementName
(String name) Validate that given name is a valid Custom Element name.
-
Constructor Details
-
CustomElementNameValidator
public CustomElementNameValidator()
-
-
Method Details
-
isCustomElementName
Validate that given name is a valid Custom Element name.
Parameters:
name
- Name to validateReturns:
Result containing possible validation error and/or warning
-