diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
View.asyncScript
diamond
views
view
View
Inserts an asynchronous javascript file in a script tag.
class
View
final
static if
(
isWebServer
)
void
asyncScript
(
string
file
)
Parameters
file
string
The javascript file.
Meta
Source
See Implementation
diamond
views
view
View
constructors
this
enums
FlashMessageType
functions
action
actionParams
addPlaceholder
append
appendCSRFTokenField
asView
asyncScript
clearCSRFToken
clearView
copyViewData
deferScript
escape
flashMessage
generate
getPlaceholder
googleMeta
meta
openGraphGeneralMeta
prepare
render
renderModel
retrieve
retrieveModel
schema
script
twitterMeta
view
viewRaw
mixins
__anonymous
properties
cacheTime
cached
client
delayRender
httpMethod
isDefaultRoute
layoutName
name
rawGenerate
renderView
route
staticCache
testing
Inserts an asynchronous javascript file in a script tag.