drab v0.1.0 API Reference

Modules

Drab allows to query and manipulate the browser DOM objects directly from the Phoenix server

Call contains functions used to communicate from the server back to the browser

Enable Drab on the browser side. Must be included in HTML template, for example in web/templates/layout/app.html.eex

Drab Commander is a module to keep event handlers

Turns on the Drab Commander on the pages generated by this controller

Provides interface to DOM objects on the server side. You may query (select/2) or manipulate (update/2, insert/2, delete/2, execute/2) the selected DOM object

Generates a Drab commander