## Generated by Codox

# Youyesyet 0.2.2-SNAPSHOT

# youyesyet.canvasser-app.handlers

Canvasser app event handlers.

### add-to-feedback

`(add-to-feedback db x)`

Add `x` to the feedback in this `db`.

view source

### add-to-key

`(add-to-key db k x)`

Return a copy of db with `x` added to the front of the list of items held against the key `k`

view source

### add-to-outqueue

`(add-to-outqueue db message)`

Add the supplied `message` to the output queue in this `db`.

view source

### clear-messages

`(clear-messages state)`

Return a state like this state except with the error and feedback messages set nil

view source

### coerce-to-number

`(coerce-to-number v)`

TODO: write docs

view source

### compose-packet

`(compose-packet item)`

TODO: write docs

view source

### do-update-elector

`(do-update-elector db elector)`

TODO: write docs

view source

### feedback-messages

TODO: write docs

view source

### get-elector

`(get-elector elector-id state)``(get-elector elector-id state address)`

Return the elector at this address (or the current address if not specified) with this id.

view source

### handle-forbidden

`(handle-forbidden response & forms)`

If response has status 403 (forbidden) redirect to the login page.

view source

### remove-from-feedback

`(remove-from-feedback db x)`

Remove `x` from the feedback in this `db`.

view source

### remove-from-key

`(remove-from-key db k x)`

Remove `x` from the values of key `k` in map `db`.

view source

### remove-from-outqueue

`(remove-from-outqueue db x)`

Remove `x` from the output queue in this `db`.

view source

### source-host

The base URL of the host from which the app was loaded.

view source