Skip to content

Instantly share code, notes, and snippets.

@Maartz
Created May 19, 2020 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maartz/36fe8a0b997bbed57172d40bf9df91f9 to your computer and use it in GitHub Desktop.
Save Maartz/36fe8a0b997bbed57172d40bf9df91f9 to your computer and use it in GitHub Desktop.
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