[elm-discuss] Re: Elm as templating engine

2017-09-02 Thread Gusztáv Szikszai
You need to use `attribute` with an empty string as value. https://ellie-app.com/4ckwSKX7YKGa1/0 On Sunday, September 3, 2017 at 1:18:26 AM UTC+2, Birowsky wrote: > > Trying to use elm as a templating engine for AMP pages. But they have > specific requirements where I need to specify attributes

[elm-discuss] Elm as templating engine

2017-09-02 Thread Birowsky
Trying to use elm as a templating engine for AMP pages. But they have specific requirements where I need to specify attributes without values. Is that possible with some elm construct? https://www.ampproject.org/docs/tutorials/create/basic_markup for an example: amp = boolProperty "⚡"

[elm-discuss] *** Getting URL of new tab that was launched in JavaScript

2017-09-02 Thread kgashok
I am looking for JavaScript code to get the *URL of a new tab/window* (no cross-origin issues) that was launched from an existing window. I have had this up on Stackoverflow as a Javascript question