Discussion:
[elm-discuss] Elm.fullscreen is not a function
Stuart Axon
2016-06-29 09:29:24 UTC
Permalink
I've been getting started with elm using the environment described here
https://boonofcode.svbtle.com/setting-up-an-atom-elm-dev-environment I
have an index.html as below, but am getting -

TypeError: Elm.fullscreen is not a function

Any idea what I need to change ?


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My App</title>
<link rel="stylesheet" href="css/style.min.css">
</head>
<body>
<script src="gen/main.js"></script>
<script>
Elm.fullscreen(Elm.Main);
</script>
</body>
</html>
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Peter Damoc
2016-06-29 09:35:15 UTC
Permalink
Elm.fullscreen(Elm.Main);
become
Elm.Main.fullscreen();
in 0.17

More info here:
http://guide.elm-lang.org/interop/html.html
Post by Stuart Axon
I've been getting started with elm using the environment described here
https://boonofcode.svbtle.com/setting-up-an-atom-elm-dev-environment I
have an index.html as below, but am getting -
TypeError: Elm.fullscreen is not a function
Any idea what I need to change ?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My App</title>
<link rel="stylesheet" href="css/style.min.css">
</head>
<body>
<script src="gen/main.js"></script>
<script>
Elm.fullscreen(Elm.Main);
</script>
</body>
</html>
--
You received this message because you are subscribed to the Google Groups
"Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
There is NO FATE, we are the creators.
blog: http://damoc.ro/
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Denis Kolodin
2017-07-07 20:38:54 UTC
Permalink
Another reason for 0.18: I take `Elm.MyApp.fullscreen is not a function`
when I forget to add `main` (which calls `Html.program`) function to MyApp
module.
Post by Stuart Axon
I've been getting started with elm using the environment described here
https://boonofcode.svbtle.com/setting-up-an-atom-elm-dev-environment I
have an index.html as below, but am getting -
TypeError: Elm.fullscreen is not a function
Any idea what I need to change ?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My App</title>
<link rel="stylesheet" href="css/style.min.css">
</head>
<body>
<script src="gen/main.js"></script>
<script>
Elm.fullscreen(Elm.Main);
</script>
</body>
</html>
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...