Also new to Elm so I may be wrong, but assuming your program is
defined in the module 'Main.elm' I think you want:

    Elm.Main.fullscreen();

On 7 July 2017 at 21:38, Denis Kolodin <[email protected]> wrote:
> 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.
>
> On Wednesday, June 29, 2016 at 12:29:24 PM UTC+3, Stuart Axon wrote:
>>
>> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to