spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
indexOf
spasm
dom
Undocumented in source.
@
safe
nothrow
template
indexOf (
alias
Pred
args
...
) {
import
std
.
meta
:
AliasSeq
;
;
@
safe
nothrow
static if
(
args.length > 0
)
static if
(
Pred!(args[0])
)
enum
index
;
@
safe
nothrow
static if
(
args.length > 0
)
static if
(!(
Pred!(args[0])
))
enum
next
;
@
safe
nothrow
static if
(
args.length > 0
)
static if
(!(
Pred!(args[0])
))
enum
index
;
@
safe
nothrow
static if
(!(
args.length > 0
))
enum
index
;
}
Members
Manifest constants
index
enum
index
;
Undocumented in source.
index
enum
index
;
Undocumented in source.
index
enum
index
;
Undocumented in source.
next
enum
next
;
Undocumented in source.
Meta
Source
See Implementation
spasm
dom
aliases
NestedChildRenderFunc
classes
UnittestDomNode
functions
addClass
addCss
appendChild
applyStyles
callMember
changeClass
createElement
createNode
document
focus
getNamedNode
getProperty
getPropertyBool
getPropertyDouble
getPropertyInt
innerText
insertBefore
isChildVisible
propagateOnMount
propagateOnUnmount
remount
removeChild
removeClass
render
renderBefore
renderIntoNode
setAttribute
setAttributeInt
setAttributeTyped
setChildFromParent
setParamFromParent
setPointers
setProperty
setPropertyBool
setPropertyDouble
setPropertyInt
setPropertyTyped
setSelectionRange
setVisible
undefined
unmount
update
verifyChildParams
window
templates
among
createNestedChildRenderFuncs
createParameterTuple
domName
getAnnotatedParameters
getEnumUDAs
getSymbolCustomName
indexOf
indexOfPred
isValue
join
renderNestedChild
symbolFromAliasThis
updateChildren
variables
unittest_dom_nodes