ratchet v0.0.3 Ratchet

Summary

Functions

Transform a scoped element in the view with data

Functions

transform(view, scope, data)

Transform a scoped element in the view with data

iex> Ratchet.transform(~S(<div data-scope="article" data-prop="body"></div>), "article", %{"body" => "Wow!"})
~S(<div data-scope="article" data-prop="body">Wow!</div>)