Created
May 20, 2020 08:15
-
-
Save Maartz/796dbf83737790756b9ed92f02aeda53 to your computer and use it in GitHub Desktop.
This file contains 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
def handle_event("on", _metadata, socket) do | |
socket = assign(socket, :brigthness, 100) | |
{:noreply, socket} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment