Yes!

Also, if you naively import it without importing the dependencies, the JS
Console will give you clues about missing links.

as for the bower dependencies you listed, yes... they are all needed.

The polymer project has and insane amount of dependencies.
It's like every function in elm-html would become it's own module.




On Wed, Oct 5, 2016 at 5:32 PM, 'Rupert Smith' via Elm Discuss <
[email protected]> wrote:

>
>
> On Wednesday, October 5, 2016 at 3:28:31 PM UTC+1, Rupert Smith wrote:
>>
>> On Wednesday, October 5, 2016 at 12:54:19 PM UTC+1, Peter Damoc wrote:
>>>
>>> Polymers do not work like that.
>>> For optimizing the size, see the links I posted in the previous comment.
>>>
>>> I have a personal exploration of polymer that tried to minimize the
>>> output:
>>> https://github.com/pdamoc/polymer-exploration
>>>
>>
>> First hurdle, there is no polymer-paper-listbox bower package, so I guess
>> I need to create one? Are all these bower dependencies really needed to
>> build a functioning date picker?
>>
>>   "dependencies": {
>>     "moment-element": "bendavis78/moment-element#^1.1.1",
>>     "polymer": "Polymer/polymer#^1.1.0",
>>     "iron-icon": "PolymerElements/iron-icon#^1.0.7",
>>     "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.9",
>>     "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
>>     "iron-media-query": "PolymerElements/iron-media-query#^1.0.0",
>>     "iron-resizable": "PolymerElements/iron-resizable-behavior#^1.0.0",
>>     "iron-selector": "PolymerElements/iron-selector#^1.0.0",
>>     "neon-animation": "PolymerElements/neon-animation#^1.0.0",
>>     "paper-ripple": "PolymerElements/paper-ripple#^1.0.5",
>>     "paper-styles": "PolymerElements/paper-styles#^1.0.0",
>>     "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0",
>>     "iron-list": "PolymerElements/iron-list#^1.2.8"
>>   },
>>
>> from:
>>
>> https://github.com/bendavis78/paper-date-picker
>>
>> Kind of hard to figure out what I need for the listbox...
>>
>
> I guess the html imports for the demo of the listbox gives me some clue:
>
>   <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
>
>   <link rel="import" href="../../paper-item/paper-item.html">
>   <link rel="import" href="../../iron-collapse/iron-collapse.html">
>   <link rel="import" href="../paper-listbox.html">
>   <link rel="import" href="../../paper-styles/demo-pages.html">
>
> from:
>
> https://github.com/PolymerElements/paper-listbox/
> blob/master/demo/index.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.
>



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

Reply via email to