Skip to content

Instantly share code, notes, and snippets.

@Maartz
Created May 19, 2020 14:51
Embed
What would you like to do?
defmodule LiveViewStudioWeb.LightLive do
use LiveViewStudioWeb, :live_view
def mount(_params, _session, socket) do
socket = assign(socket, :brigthness, 10)
{:ok, socket}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment