( |* ) [Sharp_vdom] |
Alias for
set_attribute (sort of.)
|
(<$>) [Sharp_core] |
Alias for
map .
|
(<$?>) [Sharp_core] |
Alias for
map_opt .
|
(<*>) [Sharp_core] |
Alias for
apply .
|
(<*?>) [Sharp_core] |
Alias for
apply_opt .
|
(>>) [Sharp_core] |
Like
>>= but it discards the value of the first signal.
|
(>>=) [Sharp_core] |
Alias for
bind .
|
(^/) [Sharp_router] |
See top documentation.
|
(^//) [Sharp_router] |
See top documentation.
|
(|+) [Sharp_vdom] |
Append several children at once.
|
(|-) [Sharp_vdom] |
Alias for
append_child .
|
_object [Sharp_vdom.Element] | |
A | |
a [Sharp_vdom.Element] | |
append_child [Sharp_vdom] |
Append a child to a node.
|
apply [Sharp_core] |
Signals are applicative functors.
|
apply_opt [Sharp_core] |
A kind
apply on optional signals.
|
area [Sharp_vdom.Element] | |
article [Sharp_vdom.Element] | |
audio [Sharp_vdom.Element] | |
B | |
base [Sharp_vdom.Element] | |
bind [Sharp_core] |
Monadic bind.
|
blockquote [Sharp_vdom.Element] | |
body [Sharp_vdom.Element] | |
br [Sharp_vdom.Element] | |
button [Sharp_vdom.Element] | |
C | |
canvas [Sharp_vdom.Element] | |
caption [Sharp_vdom.Element] | |
change [Sharp_event] | |
clear_attribute [Sharp_vdom] |
Remove an attribute from a node.
|
click [Sharp_vdom_subnetwork] | |
click [Sharp_event] | |
col [Sharp_vdom.Element] | |
colgroup [Sharp_vdom.Element] | |
connected_event [Sharp_core] |
Create a signal from a callback and returns the signal, the trigger function
and another callback to disconnect the event.
|
const [Sharp_router.Const] | |
const [Sharp_core] |
The simplest signal, always returning the same value.
|
count [Sharp_core] |
Count the number of times the optional signal has had a value.
|
D | |
del [Sharp_vdom.Element] | |
diff_and_patch [Sharp_vdom] | |
div [Sharp_vdom.Element] | |
dl [Sharp_vdom.Element] | |
E | |
element [Sharp_vdom] |
Same as
node but without children.
|
embed [Sharp_vdom.Element] | |
empty [Sharp_router.Final] | |
empty [Sharp_router] |
Same as
Final.empty .
|
event [Sharp_core] |
Create a optional signal with the function to give the signal the given
value at the current time.
|
every [Sharp_ticker] |
Create a signal which takes the given value every x seconds.
|
F | |
fieldset [Sharp_vdom.Element] | |
fold [Sharp_core] |
Fold the values taken by a signal.
|
form [Sharp_vdom.Element] | |
frame [Sharp_vdom.Element] | |
frameset [Sharp_vdom.Element] | |
G | |
generate [Sharp_router.Part] | |
generate_ [Sharp_router.Part] | |
H | |
h1 [Sharp_vdom.Element] | |
h2 [Sharp_vdom.Element] | |
h3 [Sharp_vdom.Element] | |
h4 [Sharp_vdom.Element] | |
h5 [Sharp_vdom.Element] | |
h6 [Sharp_vdom.Element] | |
hashchange [Sharp_event] | |
head [Sharp_vdom.Element] | |
header [Sharp_vdom.Element] | |
hr [Sharp_vdom.Element] | |
html [Sharp_vdom.Element] | |
I | |
iframe [Sharp_vdom.Element] | |
img [Sharp_vdom.Element] | |
input [Sharp_vdom.Element] | |
input [Sharp_vdom_subnetwork] | |
input [Sharp_event] | |
ins [Sharp_vdom.Element] | |
J | |
join [Sharp_core] |
Flatten a nested signal.
|
L | |
label [Sharp_vdom.Element] | |
last [Sharp_core] |
Return the last value taken by an optional signal,
init if none.
|
last_for [Sharp_ticker] |
Transform a signal so that it keeps the last value for x seconds even though
the underlying signal does not have a value anynore.
|
legend [Sharp_vdom.Element] | |
li [Sharp_vdom.Element] | |
lift [Sharp_core] | |
lift0 [Sharp_core] |
The following functions lift a function of values into a function of
signals.
|
lift2 [Sharp_core] | |
lift3 [Sharp_core] | |
lift4 [Sharp_core] | |
lift5 [Sharp_core] | |
link [Sharp_vdom.Element] | |
link [Sharp_vdom] |
Link a VDOM to a node and return a pair with a linked VDOM and a callback to
start the subnetworks.
|
M | |
make [Sharp_event] |
Create a signal from a JS event on a DOM element.
|
make_unit [Sharp_event] |
A convenient specialised version of
make for signals that always take the
unit value.
|
map [Sharp_vdom.Element] | |
map [Sharp_core] |
Map a function onto a signal's (current and future) values.
|
map_opt [Sharp_core] |
A kind of
map on optional signals.
|
meta [Sharp_vdom.Element] | |
N | |
nav [Sharp_vdom.Element] | |
node [Sharp_vdom] |
Create a VDOM node of the given HTML tag with the given list of children.
|
none [Sharp_vdom_subnetwork] | |
O | |
ol [Sharp_vdom.Element] | |
on [Sharp_core] |
Return a signal starting with the value
init and changing this value based
on the previous one and a value of an optional signal when it takes one.
|
optgroup [Sharp_vdom.Element] | |
option [Sharp_vdom.Element] | |
P | |
p [Sharp_vdom.Element] | |
param [Sharp_vdom.Element] | |
parse [Sharp_router.Part] | |
parse_opt [Sharp_router.Part] | |
perform [Sharp_core] |
Perform an action every time the signal changes value.
|
perform_state [Sharp_core] |
Like perform but maintain a state between calls.
|
popstate [Sharp_event] | |
pre [Sharp_vdom.Element] | |
prepend_child [Sharp_vdom] |
Prepend a child to a node.
|
pure [Sharp_core] |
Alias for
const .
|
Q | |
q [Sharp_vdom.Element] | |
R | |
react [Sharp_core] |
Run the function when the optional signal takes a value.
|
react_with [Sharp_core] |
Same as
react with an additional signal.
|
return [Sharp_core] |
Alias for
const .
|
router [Sharp_router] |
Start listening to changes to the hash.
|
router_ [Sharp_router] |
Same as
router but without an additional signal value.
|
S | |
script [Sharp_vdom.Element] | |
section [Sharp_vdom.Element] | |
select [Sharp_vdom.Element] | |
sequence [Sharp_core] |
Combine a list of signals into a signal of list.
|
set_attribute [Sharp_vdom] |
Set an attribute to a node.
|
style [Sharp_vdom.Element] | |
submit [Sharp_vdom_subnetwork] | |
submit [Sharp_event] | |
T | |
table [Sharp_vdom.Element] | |
tag [Sharp_vdom] |
Alias for
element .
|
tbody [Sharp_vdom.Element] | |
td [Sharp_vdom.Element] | |
text [Sharp_vdom] |
A text node.
|
text_field [Sharp_vdom_subnetwork] | |
text_field [Sharp_form] |
Signal of the last value of a text field.
|
textarea [Sharp_vdom.Element] | |
tfoot [Sharp_vdom.Element] | |
th [Sharp_vdom.Element] | |
thead [Sharp_vdom.Element] | |
tick_manager [Sharp_ticker] |
Take a list of initial commands and return the signal, a trigger function to
send new commands and a callback to stop the tick manager.
|
time [Sharp_core] |
Return the current time.
|
title [Sharp_vdom.Element] | |
to_fragment [Sharp_router.Part] | |
to_fragment_ [Sharp_router.Part] | |
toggle [Sharp_core] |
Toggle between
true and false each time the given optional signal takes
a value.
|
tr [Sharp_vdom.Element] | |
U | |
ul [Sharp_vdom.Element] | |
unlink [Sharp_vdom] | |
upon [Sharp_core] |
The new signal will keep the same value until the optional value takes a
value.
|
V | |
var [Sharp_router.Var] | |
vdom [Sharp_vdom] |
Run the function with the signal's value every time it "changes" value (see
document of
Sharp.Core for more details on that) and binds the returned
VDOM to the given real DOM element.
|
video [Sharp_vdom.Element] |