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
typeattribute should be set tomodule. - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        async: ScriptAttributes
      
      
      
Indicates that the
asyncattribute should be included in the script tag.Indicates that the
asyncattribute should be included in the script tag. Overridesdeferin case that had been set previously. - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        crossOrigin: CrossOrigin
      
      
      
The value to be set for the
crossoriginattribute.The value to be set for the
crossoriginattribute. In case ofCrossOrigin.Unspecifiedthe attribute will not be included. - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        defer: ScriptAttributes
      
      
      
Indicates that the
deferattribute should be included in the script tag.Indicates that the
deferattribute should be included in the script tag. Overridesasyncin case that had been set previously. - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        integrity: Option[String]
      
      
      
The value to be set for the
integrityattribute.The value to be set for the
integrityattribute. 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
crossoriginattribute. - 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        withIntegrity(value: String): ScriptAttributes
      
      
      
Specifies a value to be set for the
integrityattribute. 
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