Scrawl-canvas API
SC inline documentation
SC demo test suite
SC developer runbook
GitHub
Preparing search index...
StackFactoryFunctions
Interface StackFactoryFunctions
interface
StackFactoryFunctions
{
actionPacket
:
(
item
:
string
,
override
?:
CommonObjectInput
)
=>
any
;
addClasses
:
(
item
:
string
)
=>
void
;
addExistingDomElements
:
(
item
?:
string
)
=>
StackInstance
;
addNewElement
:
(
item
?:
StackNewElementInputs
)
=>
ElementInstance
;
apply
:
()
=>
void
;
checkHit
?:
(
tests
:
HitTests
)
=>
boolean
|
HitOutput
;
clear
:
()
=>
void
;
clickAnchor
?:
()
=>
void
;
clickButton
?:
()
=>
void
;
clone
:
(
item
?:
StackFactoryInputs
)
=>
StackInstance
;
compile
:
()
=>
void
;
dropArtefact
?:
()
=>
ArtefactInstance
;
get
:
(
item
:
string
)
=>
any
;
importPacket
:
(
item
:
string
|
string
[]
,
override
?:
CommonObjectInput
,
)
=>
any
;
kill
:
(
item
?:
any
)
=>
void
;
pickupArtefact
?:
(
items
:
CommonHereObjectInput
|
CommonTwoElementArrayInput
,
)
=>
ArtefactInstance
;
removeClasses
:
(
item
:
string
)
=>
void
;
render
:
()
=>
void
;
reset
:
()
=>
void
;
reverseByDelta
:
()
=>
ArtefactInstance
;
saveAsPacket
:
(
item
?:
boolean
|
StackSaveInputs
)
=>
string
;
set
:
(
item
?:
StackFactoryInputs
)
=>
StackInstance
;
setColorSchemeDarkAction
:
DefaultInputFunction
;
setColorSchemeLightAction
:
DefaultInputFunction
;
setDelta
:
(
item
?:
StackFactoryDeltaInputs
)
=>
StackInstance
;
setDeltaValues
:
(
item
?:
CommonObjectInput
)
=>
ArtefactInstance
;
setMoreContrastAction
:
DefaultInputFunction
;
setNoPreferenceDataAction
:
DefaultInputFunction
;
setNoPreferenceMotionAction
:
DefaultInputFunction
;
setNoPreferenceTransparencyAction
:
DefaultInputFunction
;
setOtherContrastAction
:
DefaultInputFunction
;
setReduceDataAction
:
DefaultInputFunction
;
setReduceMotionAction
:
DefaultInputFunction
;
setReduceTransparencyAction
:
DefaultInputFunction
;
show
:
()
=>
void
;
updateByDelta
:
()
=>
ArtefactInstance
;
}
Hierarchy (
View Summary
)
BaseMixinFunctions
DomMixinFunctions
StackFactoryFunctions
StackInstance
Index
Properties
action
Packet
add
Classes
add
Existing
Dom
Elements
add
New
Element
apply
check
Hit?
clear
click
Anchor?
click
Button?
clone
compile
drop
Artefact?
get
import
Packet
kill
pickup
Artefact?
remove
Classes
render
reset
reverse
By
Delta
save
As
Packet
set
set
Color
Scheme
Dark
Action
set
Color
Scheme
Light
Action
set
Delta
set
Delta
Values
set
More
Contrast
Action
set
No
Preference
Data
Action
set
No
Preference
Motion
Action
set
No
Preference
Transparency
Action
set
Other
Contrast
Action
set
Reduce
Data
Action
set
Reduce
Motion
Action
set
Reduce
Transparency
Action
show
update
By
Delta
Properties
action
Packet
actionPacket
:
(
item
:
string
,
override
?:
CommonObjectInput
)
=>
any
add
Classes
addClasses
:
(
item
:
string
)
=>
void
add
Existing
Dom
Elements
addExistingDomElements
:
(
item
?:
string
)
=>
StackInstance
add
New
Element
addNewElement
:
(
item
?:
StackNewElementInputs
)
=>
ElementInstance
apply
apply
:
()
=>
void
Optional
check
Hit
checkHit
?:
(
tests
:
HitTests
)
=>
boolean
|
HitOutput
clear
clear
:
()
=>
void
Optional
click
Anchor
clickAnchor
?:
()
=>
void
Optional
click
Button
clickButton
?:
()
=>
void
clone
clone
:
(
item
?:
StackFactoryInputs
)
=>
StackInstance
compile
compile
:
()
=>
void
Optional
drop
Artefact
dropArtefact
?:
()
=>
ArtefactInstance
get
get
:
(
item
:
string
)
=>
any
import
Packet
importPacket
:
(
item
:
string
|
string
[]
,
override
?:
CommonObjectInput
)
=>
any
kill
kill
:
(
item
?:
any
)
=>
void
Optional
pickup
Artefact
pickupArtefact
?:
(
items
:
CommonHereObjectInput
|
CommonTwoElementArrayInput
,
)
=>
ArtefactInstance
remove
Classes
removeClasses
:
(
item
:
string
)
=>
void
render
render
:
()
=>
void
reset
reset
:
()
=>
void
reverse
By
Delta
reverseByDelta
:
()
=>
ArtefactInstance
save
As
Packet
saveAsPacket
:
(
item
?:
boolean
|
StackSaveInputs
)
=>
string
set
set
:
(
item
?:
StackFactoryInputs
)
=>
StackInstance
set
Color
Scheme
Dark
Action
setColorSchemeDarkAction
:
DefaultInputFunction
set
Color
Scheme
Light
Action
setColorSchemeLightAction
:
DefaultInputFunction
set
Delta
setDelta
:
(
item
?:
StackFactoryDeltaInputs
)
=>
StackInstance
set
Delta
Values
setDeltaValues
:
(
item
?:
CommonObjectInput
)
=>
ArtefactInstance
set
More
Contrast
Action
setMoreContrastAction
:
DefaultInputFunction
set
No
Preference
Data
Action
setNoPreferenceDataAction
:
DefaultInputFunction
set
No
Preference
Motion
Action
setNoPreferenceMotionAction
:
DefaultInputFunction
set
No
Preference
Transparency
Action
setNoPreferenceTransparencyAction
:
DefaultInputFunction
set
Other
Contrast
Action
setOtherContrastAction
:
DefaultInputFunction
set
Reduce
Data
Action
setReduceDataAction
:
DefaultInputFunction
set
Reduce
Motion
Action
setReduceMotionAction
:
DefaultInputFunction
set
Reduce
Transparency
Action
setReduceTransparencyAction
:
DefaultInputFunction
show
show
:
()
=>
void
update
By
Delta
updateByDelta
:
()
=>
ArtefactInstance
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
Packet
add
Classes
add
Existing
Dom
Elements
add
New
Element
apply
check
Hit
clear
click
Anchor
click
Button
clone
compile
drop
Artefact
get
import
Packet
kill
pickup
Artefact
remove
Classes
render
reset
reverse
By
Delta
save
As
Packet
set
set
Color
Scheme
Dark
Action
set
Color
Scheme
Light
Action
set
Delta
set
Delta
Values
set
More
Contrast
Action
set
No
Preference
Data
Action
set
No
Preference
Motion
Action
set
No
Preference
Transparency
Action
set
Other
Contrast
Action
set
Reduce
Data
Action
set
Reduce
Motion
Action
set
Reduce
Transparency
Action
show
update
By
Delta
SC inline documentation
SC demo test suite
SC developer runbook
GitHub
Scrawl-canvas API
Loading...