Created
May 19, 2020 14:51
-
-
Save Maartz/36fe8a0b997bbed57172d40bf9df91f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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