async

slinky.web.html.async$
object async extends Attr

A boolean attribute indicating that the browser should, if possible, execute the script asynchronously. This attribute must not be used if the src attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect. 

Dynamically inserted scripts execute asynchronously by default, so to turn on synchronous execution (i.e. scripts execute in the order they were loaded) set async=false See Browser compatibility for notes on browser support. See also Async scripts for asm.js.

Attributes

Graph
Supertypes
trait Attr
class Object
trait Matchable
class Any
Self type
async.type

Members list

Concise view

Type members

Classlikes

object tag extends TagElement

Attributes

Graph
Supertypes
class TagElement
class Object
trait Matchable
class Any
Self type
tag.type

Types

type attrType = _async_attr.type

Inherited types

type supports[T <: Tag] = AttrPair[attrType] => AttrPair[tagType]

Attributes

Inherited from:
Attr

Value members

Concrete methods

def :=(v: Boolean): AttrPair[_async_attr.type]
def :=(v: Option[Boolean]): OptionalAttrPair[_async_attr.type]

Implicits

Implicits

implicit def boolToPairscriptApplied(attrObj: async.type.this.type): AttrPair[tag.type]
implicit def boolToPairstarApplied(attrObj: async.type.this.type): AttrPair[tag.type]