sealed abstract class ScriptAttributes extends AnyRef
Configuration API for specifying attributes to set for script tags in conjunction with the Helium API for script includes.
- Alphabetic
- By Inheritance
- ScriptAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
asModule: ScriptAttributes
Indicates that the
type
attribute should be set tomodule
. -
abstract
def
async: ScriptAttributes
Indicates that the
async
attribute should be included in the script tag.Indicates that the
async
attribute should be included in the script tag. Overridesdefer
in case that had been set previously. -
abstract
def
crossOrigin: CrossOrigin
The value to be set for the
crossorigin
attribute.The value to be set for the
crossorigin
attribute. In case ofCrossOrigin.Unspecified
the attribute will not be included. -
abstract
def
defer: ScriptAttributes
Indicates that the
defer
attribute should be included in the script tag.Indicates that the
defer
attribute should be included in the script tag. Overridesasync
in case that had been set previously. -
abstract
def
integrity: Option[String]
The value to be set for the
integrity
attribute.The value to be set for the
integrity
attribute. If empty the attribute will not be included. - abstract def isAsync: Boolean
- abstract def isDefer: Boolean
- abstract def isModule: Boolean
-
abstract
def
withCrossOrigin(value: CrossOrigin): ScriptAttributes
Specifies a value to be set for the
crossorigin
attribute. -
abstract
def
withIntegrity(value: String): ScriptAttributes
Specifies a value to be set for the
integrity
attribute.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated