public enum LoadMode extends Enum<LoadMode>
Page
methods:
Enum Constant and Description |
---|
EAGER
Forces the dependency being loaded before the initial page load.
|
INLINE
Forced the dependency to be inlined in the body of the html page,
removing the requirement to have additional roundtrips to fetch the
script.
|
LAZY
Allows the dependency being loaded independent of the initial page load.
|
Modifier and Type | Method and Description |
---|---|
static LoadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadMode INLINE
public static final LoadMode EAGER
public static final LoadMode LAZY
public static LoadMode[] values()
for (LoadMode c : LoadMode.values()) System.out.println(c);
public static LoadMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.