| Package | Description |
|---|---|
| com.vaadin.flow.shared.ui |
| Modifier and Type | Method and Description |
|---|---|
Dependency.Type |
Dependency.getType()
Gets the type of the dependency.
|
static Dependency.Type |
Dependency.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dependency.Type[] |
Dependency.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Dependency(Dependency.Type type,
String expression)
Creates a new dependency of the given type, to be loaded using JS
expression which is supposed to return a
Promise. |
Dependency(Dependency.Type type,
String url,
LoadMode loadMode)
Creates a new dependency of the given type, to be loaded from the given
URL.
|
Copyright © 2025. All rights reserved.