Re: [polymer-dev] My computer and cell

2018-04-11 Thread Karl Tiedt
You do realize you sent this to a public open source project's mailing list
right?

There is no software that this project can install w/o your own direct
actions.

-Karl Tiedt

On Wed, Apr 11, 2018 at 1:40 PM, Jose Santellan <jsantel...@gmail.com>
wrote:

> You guys have illegally installed a program on my computer which I would
> like removed I have made a police with local and hired a attorney for this
> matter i am also taking the person who hired you guys to do this back to
> court cause the information giving to you by the said party is not legal
> either also you have obtained several other files that has no mother to
> your situation that I would like back as well thank you for handling this
> matter and hopefully we don't have to take further action and can end this
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/CALAYmPmfAy091FsfVLTn7DNOR-PRSm-F_qrCCPumkkLUQM5ZZw%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CALAYmPmfAy091FsfVLTn7DNOR-PRSm-F_qrCCPumkkLUQM5ZZw%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFz_KdPs06UefD9q25dj0DSK2itaoBw5spCO%2BDrtsENMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Allow components to use global CSS

2018-03-09 Thread Karl Tiedt
The whole point of Web Components is to prevent global styles from
infringing on your components... you would basically need to include the
CSS in every component similar to how the style-modules of 2.x did...

-Karl Tiedt

On Fri, Mar 9, 2018 at 8:34 AM, Ronn Ross <ronn.r...@gmail.com> wrote:

> I guess I should clarify that I'm not talking about the need to create a
> style module. I pull tachyons in from a CDN in the html page. I am just
> looking for a way for the components to be able to see all those global
> styles. Thanks!
>
> On Friday, March 9, 2018 at 9:30:21 AM UTC-5, Ronn Ross wrote:
>>
>> Hi I'm using polymer 3, and lit-html. I am defining a set of components
>> and using Tachyons to style them. Tachyons is provided by the page that
>> loads the components. As of now my components do not by default see the
>> global styles. Is there a way to set them up to do so?
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/5941199c-d974-4763-8c3f-51ac9068fef7%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/5941199c-d974-4763-8c3f-51ac9068fef7%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHGdzr1ZWSYZeYVuYteQbkT31mpRE4VxiYYaTJ1KjRDBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Documentation Feedback

2018-03-02 Thread Karl Tiedt
Mohammed,

Your complaint, which may be justified (it really provides zero
explanation), provides little context into what could be done to improve
the problem in your eyes. Polymer is a horrible name to google by itself
due to Polymer being a well used chemical term... but if you are truly
having problems with documentation, please, enlighten the community on what
is clumsy, misleading etc so they can be addressed.

-Karl Tiedt

On Fri, Mar 2, 2018 at 6:41 PM, Mohammed Wardeh <anaswar...@gmail.com>
wrote:

> Hello,
>
> I would like just to tell you guys that you have the worst documentation
> ever. To say that it's clumsy, vague and misleading is just an
> understatement.
>
> I thought to recommend polymer to my very prestigious employer and I will
> give it until the end of next week until I will just stop even to goolge
> the word polymer.
>
> Thanks,
>
> Regards,
>
> Mohammed
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/CAAdA-MJ4Uxs3nSGWyODx8phOSDQybUXubBR
> %3DCDk%3DBeSN1GEJrg%40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CAAdA-MJ4Uxs3nSGWyODx8phOSDQybUXubBR%3DCDk%3DBeSN1GEJrg%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEZ7yaogVYKCbhWHowQPW5Yk2pKq%2BB2fnApTeW2tH82Aw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Have a general question about Polymer? Try Stack Overflow!

2018-02-28 Thread Karl Tiedt
How exactly does the platform affect the quality of the chat? In my
experience gitter is kludgey and awkward... But the few times I've used it
that didn't affect people's quality of responses... Why would slack?

On Feb 28, 2018 18:35,  wrote:

I wish polymer general chat was on gitter rather than Slack. Gitter is so
much better for technical chat.


On Wednesday, February 12, 2014 at 11:28:26 AM UTC-8, Alex Komoroske wrote:
>
> [bcc polymer-announce]
>
> To date the best way to get questions answered by Polymer experts was to
> send an e-mail to polymer-dev, our general purpose mailing list. That
> works, but the questions and answers get mixed in with lots of other
> e-mails on the list, making them hard to find later--especially for new
> members of the community.
>
> That's why we now *recommend that you ask general questions on
> stackoverflow.com , tagged with "polymer"* (or,
> if your question is not specific to Polymer, "web components"). The Polymer
> team will keep an eye out for new questions there and make sure you get an
> answer.
>
> If you want to follow along, you can subscribe to e-mail notifications for
> the polymer tag on stackoverflow.com (visit http://stackoverflow.com/tags/
> polymer/info, hover over the 'polymer' tag, and hit 'subscribe').
>
> Of course, polymer-dev is still a great place to talk about all things
> Polymer.
>
> --Alex
>
Follow Polymer on Google+: plus.google.com/107187849809354688692

---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/polymer-dev/1273b855-3b2b-49e2-b738-a67f442f6897%40googlegroups.com

.

For more options, visit https://groups.google.com/d/optout.

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGQdwwmPj4wRRrSNUkSJJqPQ%3D_EToVZoh-HzwtPvRpGnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: SERIOUS HELP NEEDED WITH POLMER

2018-02-05 Thread Karl Tiedt
Rob Dodson's videos are the most often released ones that I am aware of...
https://www.youtube.com/results?search_query=polycasts


-Karl Tiedt

On Mon, Feb 5, 2018 at 12:53 PM, <uckte...@gmail.com> wrote:

> thanks but can u refer me to a tutorial such as that offered by level up
> tuts on youtube (on version 2.0 and above)
>
> On Monday, February 5, 2018 at 7:29:40 PM UTC+1, uckt...@gmail.com wrote:
>>
>> *I AM A NEW BEE  IN POLYMERAND I NEED SERIOUS  HELP. I GOT A TUTORIAL BUT
>> IT WAS ON POLYMER 1.0 .. SO CAN ANY ONE HELP ME OR DIRECT ME TO A YOUTUBE
>> VIDEO TUTORIALS ON POLYMER 2.0 OR ABOVE*
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/efd52ca1-f630-40b2-a98a-7abaaa77a31a%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/efd52ca1-f630-40b2-a98a-7abaaa77a31a%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFPpoa-Z6DHMkWqjdc2ghdneT9oSTwGs7A-Ga9hSOLeFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] SERIOUS HELP NEEDED WITH POLMER

2018-02-05 Thread Karl Tiedt
have you tried the website? https://www.polymer-project.org/2.0/start/

PS. *BOLDING AND ALL CAPS (AKA SHOUTING) IS A GOOD WAY TO GET IGNORED ;)*

-Karl Tiedt

On Mon, Feb 5, 2018 at 12:29 PM, <uckte...@gmail.com> wrote:

> *I AM A NEW BEE  IN POLYMERAND I NEED SERIOUS  HELP. I GOT A TUTORIAL BUT
> IT WAS ON POLYMER 1.0 .. SO CAN ANY ONE HELP ME OR DIRECT ME TO A YOUTUBE
> VIDEO TUTORIALS ON POLYMER 2.0 OR ABOVE*
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/dea9abef-032b-45fc-9faa-e8b0784706d1%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/dea9abef-032b-45fc-9faa-e8b0784706d1%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFPWLPBzLFYXMNAhyCsY0TBgj02Ue8KpEf%2BUFiqtdFkGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Have a general question about Polymer? Try Stack Overflow!

2018-02-03 Thread Karl Tiedt
There was no cockiness involved in my last response, in fact, I explained
every situation you described and they were all attributed to *user error*.
It would behove you to not spread your discussions across multiple lists...

So for reference *again*. Here is the answer to your misunderstandings.

You clearly need to understand terminal / command line better, none of
these are indications of failing or broken.
Details in line.

-Karl Tiedt

On Sat, Feb 3, 2018 at 12:30 AM, <data...@gmail.com> wrote:

> Here is a description:
> *Under Root - Screen is frozen*
> [root@vm45 my-app]# polymer serve
> info:Files in this directory are available under the following URLs
>   applications: http://127.0.0.1:8081
>   reusable components: http://127.0.0.1:8081/components/my-app/
>
>

It's not "frozen", its a running application. Polymer serve creates a
server at the URLs listed above... if you open your browser to one of those
you'll see your project...
ctrl+c will kill it.



> *Under admin - Polymer command not found*
> @vm45 my-app]$ polymer serve
> -bash: polymer: command not found
>
>
NPM doesn't install commands for all users unless you configure your paths
to do so...



-Karl Tiedt

On Sat, Feb 3, 2018 at 3:17 PM, Morris Q <data...@gmail.com> wrote:

> I've Read the The Polymer 2 guide to the teeth. and tries 5 times on
> fresh installs.
> The guide is neither rock or solid, otherwise I would have silently moved
> on like with the dozen web platforms/libraries/tools I use.
> If you have some useful guidance, please hit me, otherwise I do not need
> no cockiness.
> I would just move on with my team, to other well documented
> platforms/libraries/tools.
>
> Morris R.
>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGw0xia3JtAphJvey1Ss3aQPxOqjzT6mYgz7HBM7nXFbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Complete error free setup guide for Polymer

2018-02-03 Thread Karl Tiedt
You clearly need to understand terminal / command line better, none of
these are indications of failing or broken.
Details in line.

-Karl Tiedt

On Sat, Feb 3, 2018 at 12:30 AM, <data...@gmail.com> wrote:

> Here is a description:
> *Under Root - Screen is frozen*
> [root@vm45 my-app]# polymer serve
> info:Files in this directory are available under the following URLs
>   applications: http://127.0.0.1:8081
>   reusable components: http://127.0.0.1:8081/components/my-app/
>
>

It's not "frozen", its a running application. Polymer serve creates a
server at the URLs listed above... if you open your browser to one of those
you'll see your project...
ctrl+c will kill it.



> *Under admin - Polymer command not found*
> @vm45 my-app]$ polymer serve
> -bash: polymer: command not found
>
>
NPM doesn't install commands for all users unless you configure your paths
to do so...




> *Environment:*
> *Directory listing:*
> 1@vm45 my-app]$ ls
> bower.json  demo  index.html  manifest.json  my-app.html  polymer.json
> README.md  src  test
> *Packages:*
> [root@vm45 my-app]# nvm --version
> 0.33.0
> [root@vm45 my-app]# npm --version
> 5.6.0
> [root@vm45 my-app]# bower --version
> 1.8.2
> [root@vm45 my-app]# polymer --version
> 1.6.0
>
> On Friday, February 2, 2018 at 8:19:49 PM UTC-10, Karl Tiedt wrote:
>>
>> "stuck" isn't a very descriptive term, it's impossible to help without
>> details.
>>
>> On Feb 3, 2018 00:17, <dat...@gmail.com> wrote:
>>
>>> That is where I got the steps from, plus Polymer Stack Overflow, Google
>>> Developers Youtube, Google IO 2015/2016 & 2017 and Github Wiki.
>>> - The polymer-project lists npm, did not work on fresh VM install -
>>> stuck at *polymer init*
>>> - Polymer Stack overflow recommends a mix npm, nvm, did not work - Stuck
>>> at *polymer serve, conflict with bower*
>>> - Now Github Wiki recommends setup with yarn, did not try
>>>
>>> I would like nothing more than finish the setup and move on to the
>>> discovery.
>>>
>>> Thanks
>>>
>>>
>>> On Friday, February 2, 2018 at 7:57:36 PM UTC-10, Karl Tiedt wrote:
>>>>
>>>> The Polymer 2 guide is pretty rock solid... have you tried reading the
>>>> actual documentation on the Polymer website?
>>>>
>>>> https://www.polymer-project.org/2.0/start/
>>>>
>>>> -Karl Tiedt
>>>>
>>>> On Fri, Feb 2, 2018 at 11:33 PM, <dat...@gmail.com> wrote:
>>>>
>>>>> Polymer setup Errors: npm vs nvm node setup, Bower errors, browser
>>>>> errors, polymer doesn't start errors. Polymer team, would you please
>>>>> publish a complete setup guide that works?
>>>>>
>>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Polymer" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to polymer-dev...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/polymer-dev/44fed87c-3282-
>>>>> 4a72-af4d-1466095937b3%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/polymer-dev/44fed87c-3282-4a72-af4d-1466095937b3%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/polymer-dev/9a7c6b68-017e-416c-8ea2-23a4ef1273f0%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/9a7c6b68-017e-416c-8ea2-23a4ef1273f0%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubs

Re: [polymer-dev] Complete error free setup guide for Polymer

2018-02-02 Thread Karl Tiedt
The Polymer 2 guide is pretty rock solid... have you tried reading the
actual documentation on the Polymer website?

https://www.polymer-project.org/2.0/start/

-Karl Tiedt

On Fri, Feb 2, 2018 at 11:33 PM, <data...@gmail.com> wrote:

> Polymer setup Errors: npm vs nvm node setup, Bower errors, browser errors,
> polymer doesn't start errors. Polymer team, would you please publish a
> complete setup guide that works?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/44fed87c-3282-4a72-af4d-1466095937b3%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/44fed87c-3282-4a72-af4d-1466095937b3%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGouDFOpzT-gdbN91g_6jcEm1e5pTYQEcuz8X%2BDxEoraA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Have a general question about Polymer? Try Stack Overflow!

2018-02-02 Thread Karl Tiedt
The Polymer 2 guide is pretty rock solid... have you tried reading the
actual documentation on the Polymer website?

https://www.polymer-project.org/2.0/start/

-Karl Tiedt

On Fri, Feb 2, 2018 at 11:26 PM, <data...@gmail.com> wrote:

>
> Polymer setup Errors: npm vs nvm node setup, Bower errors, browser errors,
> polymer doesn't start errors. Polymer team, would you please publish a
> setup guide that works?
>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/713b98dd-e53a-4e82-90cb-66348f4dcbc5%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/713b98dd-e53a-4e82-90cb-66348f4dcbc5%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHqwdTvgWiBq0erLpOtD5pe4MtT4wS7UKyALLbLQ4F-Ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Polymer 3.0 (version 3.0) status?

2018-01-08 Thread Karl Tiedt
The 3.0-preview channel on slack is pretty active...

On Jan 8, 2018 18:10, "Jim Montgomery"  wrote:

> What is the status of Polymer version 3.0? The last related update/commit
> to the 3.0-preview branch is from 2017 September and I see no significant
> activity or documentation available more recent than 2017 September (blog,
> wiki, maillist, github issues, stackoverflow).
>
> I'm a bit concerned not seeing anything in 1/4 of a year, especially as I
> consider adopting it in my own project. Feel free to offer suggestions or
> general feedback in addition to understanding where the project is at (or
> not going).
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/6d751548-d5c3-4256-bc5d-080b33bcc557%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEru5HthBB8uvPgh-tohL3F3fem9bjikVXz%2BZNUHVkYPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Need help with data bindings

2018-01-04 Thread Karl Tiedt
properties are hyphenated because html attributes are case insensitive you
need to use bank-info="{{checkingBankInfo}}" as per the documentation here:
https://www.polymer-project.org/2.0/docs/devguide/data-binding in "Anatomy
of a data binding"

-Karl Tiedt

On Thu, Jan 4, 2018 at 3:54 PM, Ankit Singhal <ankit.sin...@gmail.com>
wrote:

> Hi,
>
> I am very new to polymer and learning it. need your guidance as I develop
> the application. I am struggling with data binding with in my components.
> My requirement is very similar to Linking paths with data bindings.
>
> Parent element -
>
>
> 
>
>  ="bankAccountDisplay">
>
> 
>
> 
>
> I have a custom element add-bank-account.html which is a child having
> three property
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>
> Changes in add-bank-account are not getting observed in checkingBankInfo
> object of add-checking-account component.
>
>
> I am expecting that as I have done 2 way binding so any changes to
> property of bankInfo should be observed inside  checkingBankInfo property
> of Parent component.
>
>
> thanks for your help.
>
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/6feee57b-7b67-4f1d-8dc3-93c679ce12a8%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/6feee57b-7b67-4f1d-8dc3-93c679ce12a8%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFtby7QxZ8bApxmqsm8WsY%2Bx3apA3gQZhoNxFogCD3u5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Resuable components throwing error 'must use non-unique' ID's

2017-12-15 Thread Karl Tiedt
well the only thing I can offer based on your previous information is you
are creating a non shadow-dom scoped element with a hard coded ID which is
against HTML standards.

-Karl Tiedt

On Fri, Dec 15, 2017 at 2:09 PM, <maheshreddi...@gmail.com> wrote:

> I can't link to my component. But I attached a screenshot the error i am
> getting
>
> Thanks,
> Mahesh
>
> On Friday, December 15, 2017 at 11:57:38 AM UTC-8, maheshr...@gmail.com
> wrote:
>>
>> Hi All,
>>
>> I created a component, in that I exported one bower component. And then I
>> used my component in one view multiple times.
>>
>> I am getting below error
>>   * [DOM] Found 4 elements with non-unique id #search: (More info:
>> https://goo.gl/9p2vKq <https://goo.gl/9p2vKq>) .*
>>
>> This *#search: *from the bower component.
>>
>> How I resolve this issue?
>>
>> Thanks,
>> Mahesh
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/22826f4b-8a7a-4933-a41b-771edec6d02d%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/22826f4b-8a7a-4933-a41b-771edec6d02d%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGdy8gB_ft6qpXH0ad9k5WnQ5%2BOtcXfz3dn1jqqZotbNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Resuable components throwing error 'must use non-unique' ID's

2017-12-15 Thread Karl Tiedt
You haven't really provided any useful information to troubleshoot this
the link you provided is for
https://www.chromium.org/developers/design-documents/create-amazing-password-forms
which seems irrelevant to any statements in your email...

Can you link to your component that you created maybe instead?

-Karl Tiedt

On Fri, Dec 15, 2017 at 1:57 PM, <maheshreddi...@gmail.com> wrote:

> Hi All,
>
> I created a component, in that I exported one bower component. And then I
> used my component in one view multiple times.
>
> I am getting below error
>   * [DOM] Found 4 elements with non-unique id #search: (More info:
> https://goo.gl/9p2vKq <https://goo.gl/9p2vKq>) .*
>
> This *#search: *from the bower component.
>
> How I resolve this issue?
>
> Thanks,
> Mahesh
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/2e4a165a-2d78-409f-bb1d-3c20dacd9a9f%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/2e4a165a-2d78-409f-bb1d-3c20dacd9a9f%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFUpgyVrt%2B0%3Dn7euOwpKMWf8UT54KzaRyYFrBb8XLcXtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Is Polymer still alive?

2017-11-10 Thread Karl Tiedt
Most activity happens on slack these days. That's always been the primary
support means for polymer.


On Nov 10, 2017 07:03, "Mark"  wrote:

> Is Polymer still alive? Yeah, I'd say so. The team has been working on
> Polymer 3 which seems to be what the focus is but their Github issues page
> does seem to be accumulating. I have to agree with you on the fact that the
> Polymer contributors are not as responsive (on this thread at least) but I
> always thought it was because this is a Google Group rather than an
> official mailing list or something. I see that Polymer Github repository is
> the best place to file issues/bugs with the framework. But teams like W3C
> and WHATWG also have mailing lists and discourse forums for questions,
> proposals and discussion. Is there some sort of similar mailing list for
> Polymer?
>
> On Friday, November 10, 2017 at 6:28:32 AM UTC-5, Joern Turner wrote:
>>
>> Hi,
>>
>> allow a disclaimer first:
>> sorry if the following sounds harsh or provoking - it's mainly cause i
>> love Web Components and Polymer and we as a company have invested into it
>> quite a bit. That's why i'm shouting...
>>
>> BUT: i seriously concerned about the current state of the community. I've
>> asked for advice here several times and got no answer. The Googe+ group
>> also doesn't seem to burst from activity and the enthusiasm from the
>> Polymer 1.x days seems to have gone away completely. No more fancy videos
>> (loved those), no more experts mixing into the discussions, no significant
>> promotion activity in social media to make people curious or at least give
>> them a feeling that they can trust in the future of Polymer.
>>
>> I'm working and maintaining Open Source projects for over 15 years now
>> and if i've learned something than it's about the importance of community
>> work. And believe me - i know how much hard work it is to keep it going.
>> But If questions are left unanswered, if no significant improvements happen
>> people will just go away. And they are right - how shall i trust in the
>> future of a product if there's  no significant public activity. Seems that
>> the main promoters like e.g. Eric Bidelman and Rob Dodson have moved on to
>> other areas of interest and are not even listening here any more.
>>
>> I still very much hope that the project will go on and evolve but if
>> there's nobody feeling responsible for letting people know what's going on
>> that will hardly happen.
>>
>> We know that Google is behind Polymer (or should i've used 'was') - and
>> that gave me some hope in the past but nowadays i'm asking myself more and
>> more if that's one of Google's fabulous projects that started with big buzz
>> just to silently die some time after (see Wave, GWT and surely a whole
>> bunch of others).
>>
>> I have hoped that with Web Components and Polymer there finally is a hope
>> to escape the framework hell that over and over again dumps years of
>> knowledge building for the next big hype coming along. IMHO it would help
>> us all to evolve and improve things in a continous effort and moving along
>> standards that have a longer lifetime than the 'last big thing'.
>>
>> I would appreciate and be thankful for everybody speaking up against my
>> above statements.
>>
>> Best,
>>
>> Joern
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/ae5f1883-7d00-4fa5-979e-360a602e2061%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTE1yjOJjSshrxUWP7AuksvaJx9jvCzajnYoYDYR8r%3DMdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Polymer on GitHub

2017-10-25 Thread Karl Tiedt
You dont need to be in the org to contribute -
https://github.com/Polymer/polymer/blob/master/CONTRIBUTING.md

-Karl Tiedt

On Wed, Oct 25, 2017 at 11:52 AM, Drew Roberts <d...@drewroberts.com> wrote:

> I'm a large fan of Polymer and the speed it allows me to load websites.
> Thank you for creating it!
>
> Would I be able to receive an invite to the Polymer and PolymerElements
> organizations on GitHub? My username is @DrewRoberts on GitHub. I would
> like to find a way to help out and contribute to where your team is going
> with the project.
>
> Thank you,
>
> -Drew
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/CAOMYVu2P4bMjZvsipFcYG11j1rgpTKsKFu%2Bcs7GLwnM_-rninw%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CAOMYVu2P4bMjZvsipFcYG11j1rgpTKsKFu%2Bcs7GLwnM_-rninw%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTH%3D0M7iQ-%2BN2CPNTRdc%2B2cUHpKHkJDTR%2BFi%2BOpKDD1LPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Polymer support for getFoo()/setFoo() style properties

2017-10-25 Thread Karl Tiedt
Through mixins or extensions, I mean, you write a base element class that
understands protobufs for example and mirrors their properties to proper
Polymer properties when they are assigned to your property. It won't be
pretty but, I can say, when I was at Google, we had no such convenience
with Protobufs and they were used quite a bit.

-Karl Tiedt

On Wed, Oct 25, 2017 at 12:35 PM, Red Daly <redd...@gmail.com> wrote:

> The use case is to support generated code from the protocol buffers
> library so that those objects can be used directly as property values.
> Protobuf objects use getFoo and setFoo style accessors. They are typically
> nested deeply and used for communication back and forth with the server.
> The idea is to use a protobuf object as the property value in my element
> and reference its numerous fields from the template without translating
> back and forth to an object with simple setters/getters.
>
> The myThing object in the demo is a stand-in for a protobuf object. Access
> in JavaScript should be through the getFoo syntax.
>
> What do you mean that this may be possible with a "code extension?" I'm
> happy to do this only in my own app through a mix-in, but I don't see how
> to accomplish that without an API for resolving paths.
>
>
> On Oct 25, 2017 7:44 AM, "Karl Tiedt" <kti...@gmail.com> wrote:
>
>> First off, I highly doubt an API change is gonna happen at this point to
>> support, yet another data access method, when you can most likely
>> accomplish it via code extensions or a base element class that enables this
>> feature in the elements that require it. Second off, I dont see anywhere in
>> your example you actually use this prescribed notion of setFoo, getFoo
>> other than extending the demo object to add those methods... Maybe I am
>> missing something (it is early for me)? It could simply be that I do not
>> see how you expect to leverage this since you don't appear to call any of
>> these proposed APIs in your plnkr... Trying ele.getName() fails,
>> ele.myThing.getName() works but ele.myThing.name does not...
>>
>> Can you more clearly elaborate on what your goal is here?
>>
>> -Karl Tiedt
>>
>> On Wed, Oct 25, 2017 at 1:00 AM, <redd...@gmail.com> wrote:
>>
>>> I'm using objects that only expose data through getFoo() and setFoo()
>>> methods. Would Polymer developers be supportive of amending Polymer to
>>> support this use case?
>>>
>>> (The objects in question are JavaScript protocol buffer messages.)
>>>
>>> From looking over lib/utils/path.html
>>> <https://github.com/Polymer/polymer/blob/0b23e746bf2232732a322b7614fd0dcf3a8b2a73/lib/utils/path.html#L210>,
>>> it seems fairly straightforward to hook into the path code. For an
>>> inelegant example, consider this plnkr
>>> <http://plnkr.co/edit/uv8EjdYLRqtU6nGOzVZm>.
>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/polymer-dev/0d0af3dc-f58d-4502-b6e8-f8c48c130ec8%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/0d0af3dc-f58d-4502-b6e8-f8c48c130ec8%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGueHtoZ9qY3qWrj%2B9GeCMrcNteQpX5dXbedTU2VuvGfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Polymer support for getFoo()/setFoo() style properties

2017-10-25 Thread Karl Tiedt
First off, I highly doubt an API change is gonna happen at this point to
support, yet another data access method, when you can most likely
accomplish it via code extensions or a base element class that enables this
feature in the elements that require it. Second off, I dont see anywhere in
your example you actually use this prescribed notion of setFoo, getFoo
other than extending the demo object to add those methods... Maybe I am
missing something (it is early for me)? It could simply be that I do not
see how you expect to leverage this since you don't appear to call any of
these proposed APIs in your plnkr... Trying ele.getName() fails,
ele.myThing.getName() works but ele.myThing.name does not...

Can you more clearly elaborate on what your goal is here?

-Karl Tiedt

On Wed, Oct 25, 2017 at 1:00 AM, <redd...@gmail.com> wrote:

> I'm using objects that only expose data through getFoo() and setFoo()
> methods. Would Polymer developers be supportive of amending Polymer to
> support this use case?
>
> (The objects in question are JavaScript protocol buffer messages.)
>
> From looking over lib/utils/path.html
> <https://github.com/Polymer/polymer/blob/0b23e746bf2232732a322b7614fd0dcf3a8b2a73/lib/utils/path.html#L210>,
> it seems fairly straightforward to hook into the path code. For an
> inelegant example, consider this plnkr
> <http://plnkr.co/edit/uv8EjdYLRqtU6nGOzVZm>.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/0d0af3dc-f58d-4502-b6e8-f8c48c130ec8%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/0d0af3dc-f58d-4502-b6e8-f8c48c130ec8%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHSngduCt8%3Da4VrTY%2BhbmOn7qTNx85dN_SrtWUqo%2B%2B3Xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] how to prevent resole phenolic/urea (60/40) "from the suspension .??

2017-10-11 Thread Karl Tiedt
This is a Javascript Libraries Google Group, not a chemistry group. See
https://www.polymer-project.org/about for who we are.

-Karl Tiedt

On Wed, Oct 11, 2017 at 10:45 AM, <panupa...@gmail.com> wrote:

> I have study the synthesis the resole liquid phenolics resin with the
> addition of urea (ratio 60:40) but after i kept it in the shelf ,It will
> suspense after several days.
>
> I need to know the mechanism of it or how to fix it (It's not going to
> happen when no add urea)
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/6d81fd1a-64b1-4a13-96df-c101faab0040%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGfji%3DkMqza4yjQRbJVMhd37F69ARbD890xLhFq%2B8Eumw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: What happened with Polymer Docs

2017-10-10 Thread Karl Tiedt
core-elements is 0.5 level stuff, that has been deprecated for like 2 years
now I believe... You're best bet is to dig up the github repos for those.

-Karl Tiedt

On Tue, Oct 10, 2017 at 12:55 PM, <rrangan...@hisy.in> wrote:

> Ohhh... That was quick
>
> Thank you, Mark & Karl for the swift response!
>
> Apologies for not giving you the complete URL. So below is the full URL.
>
> https://www.polymer-project.org/docs/elements/core-elements.html
>
> I cam across this URL on this Video
> <https://www.youtube.com/watch?v=TQAhM3XOuHY=8=PLLnpHn493BHHbOWwQxtGCVfEgWZxxofyA>
>  [0.48
> Sec], I remember even visiting this site couple of weeks back but now it's
> been removed. Information on "https://www.polymer-project.
> org/2.0/docs/api/" is cool, but the other document was very helpful for a
> beginner like me.
>
> Hope there is such document out there!!
>
> Regards,
> Raghu
>
> On Tuesday, October 10, 2017 at 11:11:21 PM UTC+5:30, rrang...@hisy.in
> wrote:
>>
>> Hey Polymer Community,
>>
>> Wanted to thank Polymer community for building this!!!
>>
>> Polymer and web-components are just cool, this simply is the future of
>> web. Thank you for bringing this fabulous framework.
>>
>> I have a question like, what happened with the "
>> https://www.polymer-project.org/docs; this was a real helpful document
>> since it included all elements and their attributes explained in detail.
>>
>> Since I'm new to web-development it would have been easy to understand
>> the attributes of each element. I understand it was build on Polymer
>> Version 1.0, is there a similar document for 2.0.
>>
>> If not, is there a page were I can understand all polymer elements in
>> detail. I did my searches but couldn't find any as helpful as the previous
>> one, so had to post in the community.
>>
>> Regards,
>> Raghu
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/e115b958-c883-4201-8d0f-f5fcb1a0dd6b%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/e115b958-c883-4201-8d0f-f5fcb1a0dd6b%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFSgb%2BPZ%2BEAy%3DqhgbcH7Ab8D_Rj4%3DRQs364MFc4kmPGHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] What happened with Polymer Docs

2017-10-10 Thread Karl Tiedt
Links sometimes get broken.. have you tried to visit the website? It
clearly has a docs section with helpful resources and links like this one:
https://www.polymer-project.org/2.0/docs/api/

For component specific APIs those are now on webcomponents.org here:
https://www.webcomponents.org/author/PolymerElements

All was clearly communicated months and months ago when 2.0 was released ;)

-Karl Tiedt

On Tue, Oct 10, 2017 at 12:41 PM, <rrangan...@hisy.in> wrote:

> Hey Polymer Community,
>
> Wanted to thank Polymer community for building this!!!
>
> Polymer and web-components are just cool, this simply is the future of
> web. Thank you for bringing this fabulous framework.
>
> I have a question like, what happened with the "
> https://www.polymer-project.org/docs; this was a real helpful document
> since it included all elements and their attributes explained in detail.
>
> Since I'm new to web-development it would have been easy to understand the
> attributes of each element. I understand it was build on Polymer Version
> 1.0, is there a similar document for 2.0.
>
> If not, is there a page were I can understand all polymer elements in
> detail. I did my searches but couldn't find any as helpful as the previous
> one, so had to post in the community.
>
> Regards,
> Raghu
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/83083180-4729-47df-9489-5cc68d388ca6%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/83083180-4729-47df-9489-5cc68d388ca6%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEg3EwdtCsQHs0gwPogY2GA-L%2Bj1AHJkj4AmpMmikA-iw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: How to test Polymer 2 components with Protractor when /deep/ will be deprecated?

2017-10-02 Thread Karl Tiedt
Sounds like you are over complicating things... The component tests should
cover components styling and CSS (including CSS variables that can be
affected externally)... Integration tests (and beyond) shouldn't care about
that... End To End or Integration tests should just be confirming proper
input nets proper output (or page/view changes etc).


-Karl Tiedt

On Mon, Oct 2, 2017 at 1:20 PM, <peterse...@gmail.com> wrote:

> We have a website that in each page there are multiple components, so we
> need to run acceptance tests to pierce each component and test them
>
> On Friday, September 29, 2017 at 12:09:09 PM UTC-6, Karl Tiedt wrote:
>>
>> The more important question... why do you feel you need /deep/ to test
>> components?
>>
>> -Karl Tiedt
>>
>> On Fri, Sep 29, 2017 at 12:58 PM, <peter...@gmail.com> wrote:
>>
>>> I will reply with something i found on slack overflow
>>>
>>> "The piercing selector is being dropped (/deep/ and >>>). There's
>>> currently no other alternative to search through the whole DOM with a
>>> single query. The current solution is to implement a custom selector
>>> <https://github.com/angular/protractor/issues/4367#issue-240858568> taking
>>> multiple CSS segments to search each context"
>>>
>>> On Thursday, September 28, 2017 at 9:18:01 AM UTC-6, peter...@gmail.com
>>> wrote:
>>>>
>>>> My organization is going to be moving to Polymer 2 and with that they
>>>> will have to move away from the shady dom to the shadow dom. I do know that
>>>> /deep/ is being deprecated? Is there going to be something that will
>>>> substitute for /deep/ that we can use in place when using Selenium and
>>>> Protractor and Mocha?
>>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/polymer-dev/52149efb-bb20-46ce-aa38-dafe9c708adc%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/52149efb-bb20-46ce-aa38-dafe9c708adc%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/0f92cce9-a733-4391-8b7d-dacc1f70620f%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/0f92cce9-a733-4391-8b7d-dacc1f70620f%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFQTh7eFgSVtE8iMOugUWB8KxYADty5dhiJHhtJaZ7k-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: How to test Polymer 2 components with Protractor when /deep/ will be deprecated?

2017-09-29 Thread Karl Tiedt
The more important question... why do you feel you need /deep/ to test
components?

-Karl Tiedt

On Fri, Sep 29, 2017 at 12:58 PM, <peterse...@gmail.com> wrote:

> I will reply with something i found on slack overflow
>
> "The piercing selector is being dropped (/deep/ and >>>). There's
> currently no other alternative to search through the whole DOM with a
> single query. The current solution is to implement a custom selector
> <https://github.com/angular/protractor/issues/4367#issue-240858568> taking
> multiple CSS segments to search each context"
>
> On Thursday, September 28, 2017 at 9:18:01 AM UTC-6, peter...@gmail.com
> wrote:
>>
>> My organization is going to be moving to Polymer 2 and with that they
>> will have to move away from the shady dom to the shadow dom. I do know that
>> /deep/ is being deprecated? Is there going to be something that will
>> substitute for /deep/ that we can use in place when using Selenium and
>> Protractor and Mocha?
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/52149efb-bb20-46ce-aa38-dafe9c708adc%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/52149efb-bb20-46ce-aa38-dafe9c708adc%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGkPgFFzwEXa8ZSZUmjg2x-DQPNJ9E6fiZ71_b-O8NW5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Migration path out of Polymer 1.0 with Bootstrap?

2017-09-22 Thread Karl Tiedt
The problem isnt Javascript, the problem is CSS and relying on overly
general CSS selectors... You've still failed to elaborate on this extremely
flamboyant claim of "flat out ignores virtually all  of the Javascript
libraries in existence". 1 question about 1 library is not cause for such
an alarmist response. It is also worth noting that the problem isnt Polymer
0.5, 0.8, 1.x, 2.x or even 3.x, this is the nature of Web Components.

Rob Dodson wrote a pretty good explanation surrounding jQuery plugins that
explains my first statement -
http://robdodson.me/dont-use-jquery-with-shadow-dom/

-Karl Tiedt

On Fri, Sep 22, 2017 at 7:04 PM, Egor Egorov <egor.ego...@gmail.com> wrote:

>
> See https://groups.google.com/d/msg/polymer-dev/vB7upjV_z7s/5Hk9BJFTAAAJ
> - no replies. No one uses Bootstrap with Polymer?
>
> Am I right assuming that basically anything jQuery-based is a no go?
>
>
> On Saturday, September 23, 2017 at 3:01:06 AM UTC+3, Karl Tiedt wrote:
>>
>> Please elaborate on this, " and 2.0 flat-out ignores virtually all of
>> the javascript libraries in existence"... I worked with many 3rd party
>> libraries and so have many people... In fact you can find these
>> integrations on GitHub and the web components website...
>>
>> On Sep 22, 2017 18:49, "Egor Egorov" <egor@gmail.com> wrote:
>>
>> Hello.
>>
>> We are running a huge enterprise application written with Polymer 1.0 and
>> Bootstrap. Now what we face is a bit of devastating: 1.0 is going to stop
>> working around Chrome 63 and 2.0 flat-out ignores virtually all of the
>> javascript libraries in existence, hence no Bootstrap on Polymer 2.0. As
>> much as we love Polymer 1.0, we have found no way to integrate existing JS
>> libraries we use with the 2.0.
>>
>> What would be a good migration path for a Polymer 1.0 application?
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to polymer-dev...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/polymer-dev/78829894-3022-417b-9624-e3cd1c02656c%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/78829894-3022-417b-9624-e3cd1c02656c%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/edac8597-c940-4abf-9e19-e5adcab1bde7%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/edac8597-c940-4abf-9e19-e5adcab1bde7%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEFAo2seLEkpVSZJckuH7_H7nAYGE4TLTX%3D5QCry%2B_9Vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Migration path out of Polymer 1.0 with Bootstrap?

2017-09-22 Thread Karl Tiedt
Please elaborate on this, " and 2.0 flat-out ignores virtually all of the
javascript libraries in existence"... I worked with many 3rd party
libraries and so have many people... In fact you can find these
integrations on GitHub and the web components website...

On Sep 22, 2017 18:49, "Egor Egorov"  wrote:

Hello.

We are running a huge enterprise application written with Polymer 1.0 and
Bootstrap. Now what we face is a bit of devastating: 1.0 is going to stop
working around Chrome 63 and 2.0 flat-out ignores virtually all of the
javascript libraries in existence, hence no Bootstrap on Polymer 2.0. As
much as we love Polymer 1.0, we have found no way to integrate existing JS
libraries we use with the 2.0.

What would be a good migration path for a Polymer 1.0 application?

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/polymer-dev/78829894-3022-417b-9624-e3cd1c02656c%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFXFwGOdwaPe5Y%2BxFCW8xjoKvAVMn%2B84nUiTZDoO-ap7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: My Naive Thoughts On Polymer 2, And The Google I/O 2017 Presentations

2017-05-26 Thread Karl Tiedt
How best would you develop a collection of extendable components while
avoiding classes? Even 10 years ago libraries rolled their own class
systems... Should we avoid the platform way of doing inheritance and
extensibility just because? Everything you have alluded to in the past is
all making do with what was available at the time...

ES6 is what's available from the platform... With that being said, your
aversion to it is confusing... I will agree that the "module" system that
landed in ES6 is by far not the smartest choice but it's what the lovely
standards committee gave us...

On May 26, 2017 3:21 PM, "Nick Pavlica"  wrote:

> Hi Bruce,
>   Thanks for helping me better understand Polymer!
>
> Hi Bruce,
>   Thanks for helping me better understand Polymer!
>
> On Friday, May 26, 2017 at 3:15:59 PM UTC-6, Bruce Anderson wrote:
>>
>> Hi Nick, I'm a fellow developer, not part of the Polymer team.  My first
>> foray into a production web app involved applets.  Glad we've moved on :-)
>>
>> But I don't think applets fell out of favor because they used classes.
>> That was the one aspect I've missed all these years, until recently.  They
>> were problematic in terms of performance, being confined to a rectangle,
>> blurry printing, needing to compile a complex, proprietary language when
>> JavaScript could do the same thing almost as fast, with a much lower
>> learning curve, etc.  And just not being "of the web" in the best sense,
>> but controlled by one vendor (who famously went after another vendor for
>> daring to ship their own version of it).
>>
>
>   Classes, definitely weren't the cause of applets demise for sure :)   I
> was a huge Java/OOP zealot for years, and still have a copy of the "Object
> Oriented Thought Process" on my book shelf. Part of the point that I was
> trying to make, is that the OOP style isn't the only valid method of
> creating software, and we shouldn't always be pushing in that direction.
> The Polymer team/project are always talking about standards and the
> platform which makes me concerned that they aren't taking the other
> approaches into account.  This assumption is probably totally wrong, but
> it's the perception that I get from the docs, and the presentations that
> I've seen.
>
>
>
>>
>> Most functional languages including F#, Scala, Haskell have classes.
>> Nothing is forcing you to make your classes have mutable members.
>>
>
>In a way, this helps clarify why I think that it's important to have,
> and encourage multiple styles.  There are pros and con's to each and we
> should be allowed to use the one we want or need to.
>
>
>>
>> I've seen examples of custom elements built with Elm
>> ,
>> for example.  You might also look at SkateJS, if you have a strong aversion
>> to OOP.
>>
>
>   I've seem some of the Elm stuff, but haven't looked into SkateJS yet.
>
>
> Thanks again for the feedback!
> -- Nick
>
>
>>
>>
>>
>> On Friday, May 26, 2017 at 4:08:20 PM UTC-4, Nick Pavlica wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *All,  After watching multiple presentations from Google I/O 2017 on
>>> Polymer 2, I was struck with an oppositional view of the “adopt the
>>> platform” mantra that the presenters were espousing.  While reflecting on
>>> this reaction for a couple of days, I couldn’t help but reminisce of days
>>> gone buy in this industry.  It feels as though we keep reinventing the same
>>> wheel, and expecting a different result.  For those of us that have been
>>> around long enough, we remember the failures of the past, and why they
>>> failed.  Specifically, I’m thinking of Java Applets, and all the time I
>>> wasted writing them.  While watching the presentations, I couldn’t help but
>>> notice the almost constant promotion of ES6 classes, and their use within
>>> Polymer 2.  I also couldn’t miss the constant assumption that this will be
>>> the standard, that should be adopted.  The more I thought about these
>>> annoyances, the more they continued to bother me, and it makes me question
>>> if our industry will every make any real progress, and move past a single
>>> set of ideas.  Here are some very basic examples to help highlight my
>>> point: A Basic Java Applet import java.applet.Applet;import
>>> java.awt.Graphics;public class HelloWorld extends Applet {public void
>>> paint(Graphics g) {g.drawString("Hello world!", 50, 25);
>>>}} A Simple Program Here is the
>>> output of my program:>> HEIGHT=25>  A Basic Polymer 2 Component >> rel="import"
>>>  href="https://polygit.org/components/polymer/polymer-element.html
>>> ">  //
>>> Define the class for a new element called custom-element  class
>>> CustomElement extends Polymer.Element {

Re: [polymer-dev] Problems with displaying results in dom-module

2017-03-19 Thread Karl Tiedt
Since Terry decided to take this private, I am forwarding the responses to
this list to keep the history. Especially since after attempting to help
Terry with both the answer to his problem and some basic advice for getting
help from community mailing lists... his end response was "Up yours".

Good luck Terry, you'll need it at this point.


-Karl Tiedt

-- Forwarded message --
From: <te...@terryarnett.com>
Date: Sun, Mar 19, 2017 at 3:08 PM
Subject: RE: Private message regarding: [polymer-dev] Problems with
displaying results in dom-module
To: Karl Tiedt <kti...@gmail.com>


up yours 

 Original Message 
Subject: RE: Private message regarding: [polymer-dev] Problems with
displaying results in dom-module
From: Karl Tiedt <kti...@gmail.com>
Date: Sun, March 19, 2017 4:56 pm
To: te...@terryarnett.com

And I'm telling you how you get help in these communities... If you are
gong to ignore my help, then by all means, don't bother following up when I
answer your questions, but you should leave all emails on the mailing list
so others can learn too.

Good luck

On Mar 19, 2017 2:24 PM, <te...@terryarnett.com> wrote:

> I'm asking for help, not criticism.
>
>  Original Message 
> Subject: Re: Private message regarding: [polymer-dev] Problems with
> displaying results in dom-module
> From: Karl Tiedt <kti...@gmail.com>
> Date: Sun, March 19, 2017 3:26 pm
> To: te...@terryarnett.com
>
> You did not have "repeat" though you had "repat", either way, "repeat" is
> not listed as a valid property or method of dom-repeat... Also responding
> off list defeats the purpose of having a mailing list for support, it
> removes relevant information from the thread
>
> -Karl Tiedt
>
> On Sun, Mar 19, 2017 at 11:17 AM, <te...@terryarnett.com> wrote:
>
>> I have used both combinations, "repeat=" and "items="
>>
>>
>>
>> On Saturday, March 18, 2017 at 6:15:00 PM UTC-5, Karl Tiedt wrote:
>>>
>>> repat="{{item in items_array}}"
>>>
>>> This doesn't have meaning to polymer...toy probably want this to be
>>> items=
>>>
>>> On Mar 18, 2017 15:28, <te...@terryarnett.com> wrote:
>>>
>>>> My first post asking for help, so please be patient with a newbie ..
>>>>
>>>> Why doesn't this work?  The console.log shows that data is being
>>>> returned from the database.
>>>> Nothing show up in the >>>
>>>>
>>>>
>>>> code..
>>>>
>>>> 
>>>>
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> >>> class="dropdown-content" id="ddlPayTo">
>>>>
>>>> >>> repat="{{item in items_array}}">
>>>> >>> name="{{item.pName}}">{{item.pName}}
>>>> 
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>> 
>>>>
>>>>
>>>> 
>>>> Polymer({
>>>> is: "dropdown-Payee",
>>>> ready: function () {
>>>> $.ajax({
>>>> type: "POST",
>>>> url:
>>>> "PayeeService.asmx/GetPayees",
>>>> data: "",
>>>> contentType:
>>>> "application/json; charset=utf-8",
>>>> datatype: "json",
>>>> success: function
>>>> (data) {
>>>> var items_array =
>>>> data.d;
>>>>
>>>> console.log(items_array);
>>>> }
>&g

Re: [polymer-dev] Problems with displaying results in dom-module

2017-03-18 Thread Karl Tiedt
repat="{{item in items_array}}"

This doesn't have meaning to polymer...toy probably want this to be
items=

On Mar 18, 2017 15:28,  wrote:

> My first post asking for help, so please be patient with a newbie ..
>
> Why doesn't this work?  The console.log shows that data is being returned
> from the database.
> Nothing show up in the 
>
>
> code..
>
> 
>
>
> 
>
> 
>
> 
>
>  class="dropdown-content" id="ddlPayTo">
>
>  repat="{{item in items_array}}">
>  name="{{item.pName}}">{{item.pName}}
> 
>
> 
>
> 
>
> 
>
>
> 
> Polymer({
> is: "dropdown-Payee",
> ready: function () {
> $.ajax({
> type: "POST",
> url:
> "PayeeService.asmx/GetPayees",
> data: "",
> contentType:
> "application/json; charset=utf-8",
> datatype: "json",
> success: function (data) {
> var items_array =
> data.d;
>
> console.log(items_array);
> }
> });
> }
> });
> 
>
> 
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/edd07573-b814-44db-814b-adf8960a0e33%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEw1R-unQgeCoUHG1y78oj5auEx%3D1r4Pdr3_Hy9hktZzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] How to distinguish between structural changes to array made in parent element vs property changes to an item of array made in child element observer?

2017-03-04 Thread Karl Tiedt
Not sure if it is the intended behavior or not, but I wouldn't find it hard
to believe that the change observer fires since the index of each element
changes as you unshift into the list array...

essentially: list[0] becomes list[1] meaning previous[1] != list[1]
effectively causing a series of changes for each list item...

Again, cant attest to it being expected or not, but I would not be
surprised by your log output at all right this second.

-Karl Tiedt

On Sat, Mar 4, 2017 at 8:34 PM, Santanu Basu <santanu.b...@gmail.com> wrote:

> I have posted this in another form on SO (http://stackoverflow.com/
> questions/42565640/how-to-distinguish-between-structural-changes-to-array-
> made-in-parent-element-vs) and in the 2.0-preview branch slack channel,
> but I know they are heads down with the upcoming release, so hopefully
> somewhere in the broader group here will have insight to share.
>
> The TL;DR question: how many times should the observer, defined in
> editor-element.html log to console for the following sample code:
> https://plnkr.co/edit/iTZqM4GwpASEqQgtRGEk?  I would have expected 4, but
> it actually happens 6 times.
>
> More details: the elements are a list element which, using dom-repeat,
> renders a list of todos, and each todo is rendered by an instance of an
> editor element.  The data is a list of todo objects, each of which has a
> primitive property called description.  First, two todo objects are pushed
> onto the list.  Then the first todo object's description property is
> edited.  Then a third todo object is unshifted (not pushed) onto the list.
> The data binding is defined two way between the items inside the dom-repeat
> of the list element and the todo property of the editor element.  In other
> words, the binding is made at the object, not the property.  The editor
> element defines an observer on "todo.description", printing a message to
> the console each time an observation is made.
>
> thanks in advance for any help
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/94aba116-6925-4ea6-880d-b2e6ca7b5e7d%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/94aba116-6925-4ea6-880d-b2e6ca7b5e7d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHHUnuwBDReO%2BqHwUZwS_FqmZitfBVSZRMmeupAx-zhew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] How is the correct way to deploy Polymer to a web server?

2017-01-15 Thread Karl Tiedt
Yup, you can find the details of those two folders here
https://www.polymer-project.org/1.0/docs/tools/polymer-cli

search for "Bundled and unbundled builds"

-Karl Tiedt

On Sun, Jan 15, 2017 at 11:27 PM, Adjie Purbojati <
official.purboj...@gmail.com> wrote:

> 2 folder? Do you mean bundled and unbundled folder?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/7281c0f2-7f59-4534-8638-d16cb8d36109%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGCZp-NSekPQXRCxeobe8jT%3DmkgKiv1%2BLv2zwZAmu4URQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] How is the correct way to deploy Polymer to a web server?

2017-01-15 Thread Karl Tiedt
If you are using the Polymer CLI tool, you would do a `build` and copy the
contents of one of the two folders under the build folder (depending on
your server setup)...

-Karl Tiedt

On Sun, Jan 15, 2017 at 11:07 PM, Adjie Purbojati <
official.purboj...@gmail.com> wrote:

> I tried install my Polymer project to VPS just copy all data in the
> public_html. You can see result this http://alpha.satwa.id/
> But I think not that easy. I tried refresh, the loading is really slow.
> Please help. Thank you
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/cdf40dc1-e20c-4384-8e2d-149267c170fc%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/cdf40dc1-e20c-4384-8e2d-149267c170fc%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGsk4q7OH_rcDHsnJnKsVby%2BjBDWydb2HHGk0kv8NU9xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Putting dom-modules into folders inside src

2016-11-24 Thread Karl Tiedt
Absolutely

-Karl Tiedt

On Thu, Nov 24, 2016 at 6:28 PM, <rhys.m.greg...@gmail.com> wrote:

> Hi there,
>
> Looking at the Polymer Shop app and PSK it doesn't look like any folders
> are used in the SRC folder. I'm currently working on a pretty big site and
> the naming conventions could get ridiculous.
> Is it o.k to split up dom-modules into folders?
>
> For example in the Shop App do something like:
> shop-cart
> -cart-item
> -cart-modal
>
> Thanks!
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/563b5e6b-caeb-4fde-93de-a444d9945a34%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/563b5e6b-caeb-4fde-93de-a444d9945a34%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTH-wZsOemAV3EKG1AXhwABNhKONHcpUyEnU-s24f3nHRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Call this.push in Polymer({ }) function from HTML5's geolocation callback

2016-11-22 Thread Karl Tiedt
I intentionally left that method out because it is the least correct way to
fix the problem anymore.

-Karl Tiedt

On Tue, Nov 22, 2016 at 8:09 AM, Abhilash Sathe <abhilashsa...@gmail.com>
wrote:

> var self = this  and then in place of this I used self. Problem Solved !
> Yes, scope was the problem.
>
> On Tuesday, November 22, 2016 at 9:13:29 PM UTC+5:30, Abhilash Sathe wrote:
>>
>> navigator.geolocation.getCurrentPosition(function(position) {
>> lat = position.coords.latitude,
>> lng = position.coords.longitude;
>> this.push('thread.messages', {
>>
>> latlong: lat+","+lng,
>> });
>>
>>
>> }, function() {
>> console.warn('ERROR(' + err.code + '): ' + err.message);
>> }); In the above, I get an error saying `push` is not a function. How
>> should I handle this?
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/ead3a5df-27e4-4f2f-979f-74a6f033%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/ead3a5df-27e4-4f2f-979f-74a6f033%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGXsEvswkR63cmv%2B_AxfL2X%3DGT%2BNZqe-9WLf4Zf5q3MDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Call this.push in Polymer({ }) function from HTML5's geolocation callback

2016-11-22 Thread Karl Tiedt
Basic Javascript 101 -- you are inside of a async callback which has no
scope to your original method.

In ES6 style...
navigator.geolocation.getCurrentPosition((position) => { /*code here */ });

In Non ES6... (by using a bound method)
navigator.geolocation.getCurrentPosition(this.updateCoords);

Non ES6 v2... (via bind)
navigator.geolocation.getCurrentPosition(function(position) {
lat = position.coords.latitude,
lng = position.coords.longitude;
this.push('thread.messages', {

latlong: lat+","+lng,
}.bind(this));


}, function() {
console.warn('ERROR(' + err.code + '): ' + err.message);
});

-Karl Tiedt

On Tue, Nov 22, 2016 at 7:43 AM, Abhilash Sathe <abhilashsa...@gmail.com>
wrote:

> navigator.geolocation.getCurrentPosition(function(position) {
> lat = position.coords.latitude,
> lng = position.coords.longitude;
> this.push('thread.messages', {
>
> latlong: lat+","+lng,
> });
>
>
> }, function() {
> console.warn('ERROR(' + err.code + '): ' + err.message);
> }); In the above, I get an error saying `push` is not a function. How
> should I handle this?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/1a116241-5d89-4b09-a5da-d9c58442993d%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/1a116241-5d89-4b09-a5da-d9c58442993d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFgABJvpAby5QY_%3DLwZyiw560hg%3D9N234moB-r85wUeQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Dom-Repeat Render: What is it actually do ?

2016-10-31 Thread Karl Tiedt
Because you are by passing the binding functionality of Polymer for Objects
and Arrays... Because Polymer does not use mutation observers due to
performance issues Objects and Arrays have to be notified of changes, this
is done by using this.set as described very clearly in the documentation.
The below method with the single line, is enough to get what you expected.

// call dom-repeat render
_renderDREmployees: function() {
  this.set('employees.0.name',"RENDERED");
},

-Karl Tiedt

On Mon, Oct 31, 2016 at 7:34 PM, Quang Le <quan...@gmail.com> wrote:

> I was fighting with a nested dom-repeat for the last 2 days.
> I somewhat now know how to re-render when sub-properties changed.
>
> But still don't understand the purpose of the render function.
> I changed the data binded to a dom-repeat, and call the render, but
> nothing happens.
>
> See here
> http://plnkr.co/edit/Y0P5vNxg46t5fX7gJFxU?p=preview
>
> Could somebody explain to me please?
>
> If you could take a look of my example, to see if I do it the right away.
> What could be other ways/proper way to re-render item inside a dom-repeat
> when the data that binded to it was changed outside.
>
> Thank you
>
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/79cb695c-65cb-4794-80c4-292471cca595%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/79cb695c-65cb-4794-80c4-292471cca595%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHZjSBxcRyW%3DbQTwPVDLB5s%2Btx8szB%2ByapHJd0evnPKgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] WCT handbook

2016-08-18 Thread Karl Tiedt
I would think the tests of the polymer components would function as an
excellent guide... I'm not 100% certain but I also believe that their demo
apps (like shop) come with tests as well.


-Karl Tiedt

On Thu, Aug 18, 2016 at 11:05 AM, Dean Wagner <d...@dfwagners.net> wrote:

> Just discovered how powerful WCT testing is.  Should have been doing it a
> long time ago.  We use 100% Polymer for SPAs without any other frameworks.
>
> Seems there would be a need for examples of how to test typical features
> of a Polymer App or element.  Does such a guide exist?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/2692a962-0b1f-4899-91d1-f467fda0a109%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/2692a962-0b1f-4899-91d1-f467fda0a109%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEnkiERirvU2Scyjm59bMFc80fw3uwYDzgnLUaa-iWBPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] App-toolbar / App-drawer hirarchie

2016-08-13 Thread Karl Tiedt
I'm I'm not mistaken this is achieved in several of the demo apps by adding
a toolbar to the drawer as well and styling it to match.

-Karl Tiedt

On Sat, Aug 13, 2016 at 1:28 PM, Stefan Muke <stefan.m...@gmail.com> wrote:

> Hey,
>
> Is it possible to make the app-toolbar go all the way through the unfolded
> app-drawer(i.e. to float above "Home" on the screenshot)?
> I would love the app-drawer to appear under the app-toolbar (from a
> hirarchie perspective), which folds/unfolds similar to the sidebar on the
> google plus main page. Is this possible with the raw app-layout elements?
>
> Thanks in advance,
> Stefan
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/60520ce4-4d81-4c32-9876-8b7df442075f%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/60520ce4-4d81-4c32-9876-8b7df442075f%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFT%2Bs_hM3rgjGe6nfYZMVJ%3D36pxEcVR1dQc9%3D2ogS-bZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Caching

2016-08-02 Thread Karl Tiedt
Ahh, that is a slightly different question. Generally that is achieved one
of several ways.

   - Proper cache headers from your server
   - cache busting URLS ie: 
   - directory versioning (similar to cache busting URL but the file path
   changes): 
   - renaming -- the more drastic of the above options: 


-Karl Tiedt

On Tue, Aug 2, 2016 at 3:29 PM, <jairogarciamac...@gmail.com> wrote:

> First of all, thank you for the answer.
>
> To me it's ok that solution, but, and the web user to navigate every day?
> How I make no common user suffers this problem?
>
> Thank to all,
> J.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/c58bcb4f-7b92-4b9a-bd0f-ba217a2474c3%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/c58bcb4f-7b92-4b9a-bd0f-ba217a2474c3%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHAiDRkDco2HCV_Vusxc-9CcwE0p%3DVv3FbMX7NWfv2Hqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Caching

2016-08-02 Thread Karl Tiedt
Worth noting, since you were unaware of this feature before, `disable
cache` only applies when you have enabled the feature *and* the dev console
is open, no need to toggle the feature on and off for normal browsing. ;)

-Karl Tiedt

On Tue, Aug 2, 2016 at 1:19 PM, Eric Bidelman <ebi...@gmail.com> wrote:

> The easiest way is in the DevTools network panel. Check the box that
> disables the cache.
>
> On Tue, Aug 2, 2016 at 2:00 AM <jairogarciamac...@gmail.com> wrote:
>
>> Hi, I have a problem.
>>
>> Every time I make changes in the css or html not apply because the cache.
>>
>> How I can prevent?
>>
>> I've tried this, among other things:
>>
>> * *
>> * *
>> * *
>> * *
>>
>> but it has not worked.
>>
>> I hope you can help me.
>>
>> Thank you.
>> J.
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to polymer-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/polymer-dev/af9ab470-5500-4a94-8b72-118489e4e6ca%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/af9ab470-5500-4a94-8b72-118489e4e6ca%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CACGqRCAC4vO-VaxrSw90oM0LN-CU8XitJhW3rAo8sVzOKi%3Dwhg%40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CACGqRCAC4vO-VaxrSw90oM0LN-CU8XitJhW3rAo8sVzOKi%3Dwhg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTH6dQQ34bRyie8mrbL0cZyU_pv9JY6khNZA2mDsBWNMXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Iroin-ajax response with html tags

2016-07-28 Thread Karl Tiedt
Please don't repeat questions with new subjects, it just creates extra
noise and makes finding answers harder for others who may be searching
archives.

-Karl Tiedt

2016-07-28 4:47 GMT-07:00 nawras albaghdadi <nawras.albaghd...@gmail.com>:

> I'm getting a JSON feed by iron-ajax, in the returned JSON come with HTML
> tags like this.
> [{
> pk :1,
>
>- body: "ثم سكان بشرية الأبرياء عدد, كلّ يقوم الطرفين و. وبدأت
>انذار عل بحق, تكبّد إستيلاء الأثناء، دنو بـ, عالمية العالم، بالمطالبة قد
>الى. وزارة السبب التّحول فصل بل, كل والتي واشتدّت وايرلندا بعض. إحتار
>واندونيسيا، بلا لم, بوابة الفترة بين بل.  ثم سكان بشرية الأبرياء
>عدد, كلّ يقوم الطرفين و. وبدأت انذار عل بحق, تكبّد إستيلاء الأثناء، دنو بـ,
>عالمية العالم، بالمطالبة قد الى. وزارة السبب التّحول فصل بل, كل والتي
>واشتدّت وايرلندا بعض. إحتار واندونيسيا، بلا لم, بوابة الفترة بين بل.".
>ثم سكان بشرية الأبرياء عدد, كلّ يقوم الطرفين و. وبدأت انذار عل بحق,
>تكبّد إستيلاء الأثناء، دنو بـ, عالمية العالم، بالمطالبة قد الى. وزارة السبب
>التّحول فصل بل, كل والتي واشتدّت وايرلندا بعض. إحتار واندونيسيا، بلا لم,
>"بوابة" الفترة بين بل.  class="img-responsive" src="url" alt="">عبد المالك نبيل بوتيجان
> class="head"> وأدرج بوتيجان على قائمة التطرف منذ 29
>حزيران/يونيو لمحاولته التوجه إلى سوريا مرورا بتركيا، بحسب مصدر قريب من
>التحقيق. كما أن المنفذ الثاني يشبه إلى حد كبير مشتبها به تبحث عنه
>السلطات منذ 22 تموز/يوليو أي قبل ثلاثة أيام من الاعتداء الذي تم في كنيسة
>سانت اتيان دو روفريه بالقرب من روان (شمال غرب). وكان جهاز أجنبي أبلغ
>هيئة تنسيق مكافحة الإرهاب بوجود رجل لم تعرف هويته "مستعد للمشاركة في اعتداء
>على الأراضي الفرنسية"، وأرفقت بالبلاغ صورة لشخص يشبه كثيرا عبد المالك
>بوتيجان.  class="img-responsive" src="url" alt="">عبد المالك نبيل بوتيجان
> class="head">class="arena">height="338" poster="">kind="captions" src="" srclang="en" label="English">src="" srclang="ar" label="Arabic" default>To view
>this video please enable JavaScript, and consider upgrading your web
>browserclass="foot">",
>-
>
> }]
>
> so I create a dom-repeat element to show the results , but when printing
> the [[body]] , it prints out as text with the HTML tags as text also, so
> how to print it out as HTML without facing XSS security .
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/2d216c64-5277-4403-ba38-4d793c97b39e%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/2d216c64-5277-4403-ba38-4d793c97b39e%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHTF0LHaTBKCBw0XQVfvKHiGuh8P%2BDtOudNKWR5YhndUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Loaded Polymer Element with Fetch has no custom methods after inserting to DOM

2016-07-14 Thread Karl Tiedt
Awesome, glad that helped!

-Karl Tiedt

On Thu, Jul 14, 2016 at 11:12 AM, Ádám Liszkai <adamo...@gmail.com> wrote:

> Now it's working! Thank you for your help!
>
> The modified code:
>
> getTemplate( templateName )
> {
> let templateFile = this.baseURL+'templates/'+templateName+'.html';
>
> return new Promise(function(resolve, reject)
> {
> let templateRequest = Polymer.Base.importHref(templateFile,
> function()
> {
>
> Polymer.dom(document.getElementById('templates')).appendChild(templateRequest.import.body);
> resolve(templateRequest);
> },
> function(error)
> {
> reject(error);
> });
> });
> };
>
> 2016. július 14., csütörtök 19:58:16 UTC+2 időpontban Karl Tiedt a
> következőt írta:
>>
>> Sorry I wasn't very clear there, you can use either Polymer.Base.importHref
>> or from an Polymer component, this.importHref I believe.
>>
>> -Karl Tiedt
>>
>> On Thu, Jul 14, 2016 at 10:52 AM, Ádám Liszkai <adam...@gmail.com> wrote:
>>
>>> The importHref is not only available in the custom tag? Because in the
>>> program main scope the Polymer.importHref is undefined. I think you are
>>> correct about the parsing, but the strange is that the console global scope
>>> has the methods and the subscope has not. If I create the element and
>>> append to the DOM Im also able to use it's methods but I dont want to
>>> create every template a new element.
>>>
>>> 2016. július 14., csütörtök 19:25:14 UTC+2 időpontban Karl Tiedt a
>>> következőt írta:
>>>>
>>>> I would suggest using Polymer's importHref method... since it handles
>>>> things similarly to the link rel="import" ... I suspect you're not actually
>>>> getting things parsed how you think you are with this method.
>>>>
>>>> -Karl Tiedt
>>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/ce3caa10-50bb-4066-aeb3-bd1983abda26%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/ce3caa10-50bb-4066-aeb3-bd1983abda26%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/67ff7dff-4916-4934-a098-66cdbfbd8756%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/67ff7dff-4916-4934-a098-66cdbfbd8756%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTH9rqe%3D0aJwNEN8kbVot6ymOPvUC4R6UOEdD3UvKYH04w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Loaded Polymer Element with Fetch has no custom methods after inserting to DOM

2016-07-14 Thread Karl Tiedt
Sorry I wasn't very clear there, you can use either Polymer.Base.importHref
or from an Polymer component, this.importHref I believe.

-Karl Tiedt

On Thu, Jul 14, 2016 at 10:52 AM, Ádám Liszkai <adamo...@gmail.com> wrote:

> The importHref is not only available in the custom tag? Because in the
> program main scope the Polymer.importHref is undefined. I think you are
> correct about the parsing, but the strange is that the console global scope
> has the methods and the subscope has not. If I create the element and
> append to the DOM Im also able to use it's methods but I dont want to
> create every template a new element.
>
> 2016. július 14., csütörtök 19:25:14 UTC+2 időpontban Karl Tiedt a
> következőt írta:
>>
>> I would suggest using Polymer's importHref method... since it handles
>> things similarly to the link rel="import" ... I suspect you're not actually
>> getting things parsed how you think you are with this method.
>>
>> -Karl Tiedt
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/ce3caa10-50bb-4066-aeb3-bd1983abda26%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/ce3caa10-50bb-4066-aeb3-bd1983abda26%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGAVbBoF3DbHkvU7wGfmqyz-JchtcpnCDSus%2BeOcSdMPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Loaded Polymer Element with Fetch has no custom methods after inserting to DOM

2016-07-14 Thread Karl Tiedt
I would suggest using Polymer's importHref method... since it handles
things similarly to the link rel="import" ... I suspect you're not actually
getting things parsed how you think you are with this method.

-Karl Tiedt

On Thu, Jul 14, 2016 at 8:51 AM, Ádám Liszkai <adamo...@gmail.com> wrote:

> Here is my situation: I have an app shell and have controller classes to
> load templates which have custom polymer elements in it. So far I load the
> template and add to the DOM and everything is work fine for first sight.
> After the template contents are added to the DOM I try to access to the
> custom-element methods but I could not access to it. If I try to debug the
> code and run the important steps in console then I can acces to the element
> methods.
>
> *My Element:*
>
> 
> 
> 
> 
>:host { display: block; }
>:host.hide { display: none; }
> 
>  samle content 
> 
> 
> Polymer({
> is: 'app-login',
> run: function() {
> return new Promise(function(resolve, reject) {
> resolve({'id':0,'name':'user'});
> });
> }
> });
> 
> 
>
> *My Program:*
>
> // [...]
>
> // this works fine, I just add for better understanding
> getTemplate( templateName ) {
> return new Promise(function(resolve, reject)
> {
> fetch( 'templates/'+templateName+'.html' ).then(response => {
> document.getElementById('templates').innerHTML += response
> .text();
> resolve(response);
> }).catch(error => { reject(error); });
> });
> };
> // [...]
> // this method called by the main program and cant't access to the
> element methods
> doLogin() {
> this.getTemplate('login').then(templateResponse => {
> let Login = document.querySelector('app-login'); //
> ...
> Login.run(); // TypeError: Login.run is not a function
> });
> };
> // [...]
>
> *templates/login.html:*
>
> 
> 
>
> *Console debugging:*
>
> let Login = document.querySelector('app-login');
> //Return: ...
> Login.run();
> //Return: Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]:
> undefined}
>
> I tried search for this but I could not find any relevant answer yet,
> somebody solved this issue in some way before? Did I make something just
> bad?
>
> *Already tried:*
>  - setTimeout (300ms) after adding element to the DOM » same result
>  - adding _ to the method name (like paper elements methods) » same result
>  - waiting for WebComponentsReady event after inserting the element into
> the DOM » event not fired, the program stopped
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/aedc791c-3e32-425e-b9ff-4cd6e71aac81%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/aedc791c-3e32-425e-b9ff-4cd6e71aac81%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGjXJs4xX5pTTwwhmDrAvWv2u4w2nJtMyg3b%3D8Zmww%2B6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Contributing To polymer

2016-07-11 Thread Karl Tiedt
Thanks for the additional information, I'll see if I can prod a couple
people into responding, it does appear that you have done everything
correct on your side regarding opening an issue and a PR. I can't look at
the code right now (nor could I approve it) but, hopefully someone from the
Polymer Team can get back to you soon via Github.

-Karl Tiedt

On Mon, Jul 11, 2016 at 12:01 PM, <vladimir.ift...@gmail.com> wrote:

> Hello,
>
> Thank you for your reply.
>
> These are the two pull requests I have made, they allow to position the
> label on the left side of a checkbox/toggle-button.
>
> https://github.com/PolymerElements/paper-checkbox/pull/126
> https://github.com/PolymerElements/paper-toggle-button/pull/95
>
> As for your other question, they are PR that I felt were needed, but I
> have created an issue as that's what I understood must be done related to
> the contribution guide document.
> This feature is something I have a need for and googling gave me no clean
> answer for polymer yet there are some questions on stackoverflow on how to
> do this with other frameworks/widget libraries/etc.
>
> I have read the contribution guide and tried to respect it as much as I
> could. I have made an issue related to the pull request, even made tests.
>
> I would appreciate some feedback, currently I am completely unaware of the
> state of those pull requests. Are they deliberately ignored? Is the feature
> not needed? It doesn't respect the contribution guide/code style/variable
> naming/etc; Maybe it hasn't even been looked at yet, but still I would
> greatly appreciate some feedback, a comment stating the state it is in,
>  instead of just silence.
>
> Thank you
>
> On Monday, July 11, 2016 at 7:40:04 PM UTC+2, Karl Tiedt wrote:
>>
>> This isn't an uncommon problem with any Open Source project... however,
>> your email really does nothing to help resolve your concerns... If I were
>> to look at only the information provided here in this email, I would be
>> forced to assume that your Pull Requests contain a similar lack of
>> information and that *may* be why they have not received more visible
>> attention. However, let us assume that is not the case and look a little
>> closer, just at this email.
>>
>> If you are going to voice concern over a problem relating to two very
>> specific things (your PRs in this case), you should provide context for
>> those things so that your email has a snowball's chance in hell of
>> eliciting a positive change. Currently what we (the community know) is
>> equivalent to a bad bug report "It broke". However, if you provide the
>> information related to those PRs, like do they address open bugs or were
>> they just PR's you felt were needed? You'll get a lot farther when this
>> information is readily available to those you are seeking to prod into
>> action.
>>
>> -Karl Tiedt
>>
>> On Mon, Jul 11, 2016 at 10:06 AM, <vladimi...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> It's been almost a month since I've opened 2 pull requests, they have
>>> been completely ignored, I have not received a single comment related to
>>> the state of my pull requests.
>>>
>>> I find this very discouraging and doubt many developers would want to
>>> contribute to polymer if their respective pull requests/contributions are
>>> treated in a similar manner.
>>>
>>> Thank you.
>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/940c3e70-c5e6-4277-9c42-29a12b62c8cd%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/940c3e70-c5e6-4277-9c42-29a12b62c8cd%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/39195246-ee65-4ad5-a0f1-7e3baed0dd9f%40googlegroups.com
> <ht

Re: [polymer-dev] Contributing To polymer

2016-07-11 Thread Karl Tiedt
This isn't an uncommon problem with any Open Source project... however,
your email really does nothing to help resolve your concerns... If I were
to look at only the information provided here in this email, I would be
forced to assume that your Pull Requests contain a similar lack of
information and that *may* be why they have not received more visible
attention. However, let us assume that is not the case and look a little
closer, just at this email.

If you are going to voice concern over a problem relating to two very
specific things (your PRs in this case), you should provide context for
those things so that your email has a snowball's chance in hell of
eliciting a positive change. Currently what we (the community know) is
equivalent to a bad bug report "It broke". However, if you provide the
information related to those PRs, like do they address open bugs or were
they just PR's you felt were needed? You'll get a lot farther when this
information is readily available to those you are seeking to prod into
action.

-Karl Tiedt

On Mon, Jul 11, 2016 at 10:06 AM, <vladimir.ift...@gmail.com> wrote:

> Hello,
>
> It's been almost a month since I've opened 2 pull requests, they have been
> completely ignored, I have not received a single comment related to the
> state of my pull requests.
>
> I find this very discouraging and doubt many developers would want to
> contribute to polymer if their respective pull requests/contributions are
> treated in a similar manner.
>
> Thank you.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/940c3e70-c5e6-4277-9c42-29a12b62c8cd%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/940c3e70-c5e6-4277-9c42-29a12b62c8cd%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGUwZQPoxBmLGFSUHU_UjnNJVj4m4AcJWU%3DXyTBNfzzLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Paper-menu with icons with sub-menu

2016-05-27 Thread Karl Tiedt
By all means, prove me wrong with a functional example and I will happily
help adjust it into a working state. Here is a JSbin template to start
from: http://jsbin.com/tedecinuhu/1/edit?html,console

-Karl Tiedt

On Fri, May 27, 2016 at 12:36 AM, Ruslan Zhunusov <ren...@gmail.com> wrote:

> No its not unfortunately.
>
>
>
> On Friday, May 27, 2016 at 1:30:04 PM UTC+6, Karl Tiedt wrote:
>>
>> Well then the link answers your question, menu and submenu apply the
>> icons the same way. You can find the code for that in the github repo
>> associated with the demo.
>>
>> -Karl Tiedt
>>
>> On Fri, May 27, 2016 at 12:26 AM, Ruslan Zhunusov <ren...@gmail.com>
>> wrote:
>>
>>> This is simple question.
>>> I didn't ask for menu without submenu.
>>>
>>> But menu(with icons) with submenu(with icons)
>>>
>>>
>>>
>>> On Friday, May 27, 2016 at 1:01:13 PM UTC+6, Karl Tiedt wrote:
>>>>
>>>> Well without you answering questions more completely or with more
>>>> meaningful answers, this is the best I can do for you, here is the PSK with
>>>> a menu and icons... no submenu, but they work the same...
>>>>
>>>> https://polymerelements.github.io/polymer-starter-kit/
>>>>
>>>> Seriously though, a little bit of effort in explaining exactly what you
>>>> are looking for more clearly, particularly with *functional* examples in a
>>>> JSbin or Plnkr will go a lot farther than your previous emails.
>>>>
>>>> -Karl Tiedt
>>>>
>>>> On Thu, May 26, 2016 at 8:27 PM, Ruslan Zhunusov <ren...@gmail.com>
>>>> wrote:
>>>>
>>>>> So no one can answer this simplest question?
>>>>> How to make sidemenu (which have icons) with submenu (which have
>>>>> icons).
>>>>>
>>>>>
>>>>> On Thursday, May 26, 2016 at 11:01:40 AM UTC+6, Ruslan Zhunusov wrote:
>>>>>>
>>>>>> What is correct way to make sidemenu with paper-menu with list of
>>>>>> items that use icons on the left.
>>>>>>
>>>>>> 
>>>>>> 
>>>>>>  
>>>>>>  
>>>>>>  Inbox
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> Submenu 1
>>>>>>  
>>>>>> 
>>>>>> 
>>>>>> Submenu 2
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Submenu 3
>>>>>> 
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>> 
>>>>>> Second menu
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> Not working.
>>>>>>
>>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Polymer" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to polymer-dev...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/polymer-dev/1a90329e-e49f-418e-bd68-5e38a0c0264f%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/polymer-dev/1a90329e-e49f-418e-bd68-5e38a0c0264f%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/109294ab-a5f3-46a3-a7d4-0422b024cd35%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/109294ab-a5f3-46a3-a7d4-0422b024cd35%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/c20befe4-2b7c-42f5-ba11-b666eb585578%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/c20befe4-2b7c-42f5-ba11-b666eb585578%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGLh29Bah9%2Bo6JpsLh9YbthV93v25pUVqaUj7dyCdm7Xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Paper-menu with icons with sub-menu

2016-05-27 Thread Karl Tiedt
Well then the link answers your question, menu and submenu apply the icons
the same way. You can find the code for that in the github repo associated
with the demo.

-Karl Tiedt

On Fri, May 27, 2016 at 12:26 AM, Ruslan Zhunusov <ren...@gmail.com> wrote:

> This is simple question.
> I didn't ask for menu without submenu.
>
> But menu(with icons) with submenu(with icons)
>
>
>
> On Friday, May 27, 2016 at 1:01:13 PM UTC+6, Karl Tiedt wrote:
>>
>> Well without you answering questions more completely or with more
>> meaningful answers, this is the best I can do for you, here is the PSK with
>> a menu and icons... no submenu, but they work the same...
>>
>> https://polymerelements.github.io/polymer-starter-kit/
>>
>> Seriously though, a little bit of effort in explaining exactly what you
>> are looking for more clearly, particularly with *functional* examples in a
>> JSbin or Plnkr will go a lot farther than your previous emails.
>>
>> -Karl Tiedt
>>
>> On Thu, May 26, 2016 at 8:27 PM, Ruslan Zhunusov <ren...@gmail.com>
>> wrote:
>>
>>> So no one can answer this simplest question?
>>> How to make sidemenu (which have icons) with submenu (which have icons).
>>>
>>>
>>> On Thursday, May 26, 2016 at 11:01:40 AM UTC+6, Ruslan Zhunusov wrote:
>>>>
>>>> What is correct way to make sidemenu with paper-menu with list of items
>>>> that use icons on the left.
>>>>
>>>> 
>>>> 
>>>>  
>>>>  
>>>>  Inbox
>>>>  
>>>>  
>>>>  
>>>>  
>>>> Submenu 1
>>>>  
>>>> 
>>>> 
>>>> Submenu 2
>>>> 
>>>> 
>>>> 
>>>> Submenu 3
>>>> 
>>>>  
>>>>  
>>>> 
>>>> 
>>>> Second menu
>>>> 
>>>> 
>>>>
>>>> Not working.
>>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/1a90329e-e49f-418e-bd68-5e38a0c0264f%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/1a90329e-e49f-418e-bd68-5e38a0c0264f%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/109294ab-a5f3-46a3-a7d4-0422b024cd35%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/109294ab-a5f3-46a3-a7d4-0422b024cd35%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEu-g53pQw508pKNw6gmfXM58Wpx8qAtMqDjnwxEVOp2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Paper-menu with icons with sub-menu

2016-05-27 Thread Karl Tiedt
Well without you answering questions more completely or with more
meaningful answers, this is the best I can do for you, here is the PSK with
a menu and icons... no submenu, but they work the same...

https://polymerelements.github.io/polymer-starter-kit/

Seriously though, a little bit of effort in explaining exactly what you are
looking for more clearly, particularly with *functional* examples in a
JSbin or Plnkr will go a lot farther than your previous emails.

-Karl Tiedt

On Thu, May 26, 2016 at 8:27 PM, Ruslan Zhunusov <ren...@gmail.com> wrote:

> So no one can answer this simplest question?
> How to make sidemenu (which have icons) with submenu (which have icons).
>
>
> On Thursday, May 26, 2016 at 11:01:40 AM UTC+6, Ruslan Zhunusov wrote:
>>
>> What is correct way to make sidemenu with paper-menu with list of items
>> that use icons on the left.
>>
>> 
>> 
>>  
>>  
>>  Inbox
>>  
>>  
>>  
>>  
>> Submenu 1
>>  
>> 
>> 
>> Submenu 2
>> 
>> 
>> 
>> Submenu 3
>> 
>>  
>>  
>> 
>> 
>> Second menu
>> 
>> 
>>
>> Not working.
>>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/1a90329e-e49f-418e-bd68-5e38a0c0264f%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/1a90329e-e49f-418e-bd68-5e38a0c0264f%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFXbcndF3LPw-SmGEoWMEU%2BPLNnet%2B9Wd_QL%2BRAfPsk9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Paper-menu with icons with sub-menu

2016-05-25 Thread Karl Tiedt
Can you be more specific on what what isn't working? Or maybe provide a
JSbin? As this stands, it sounds like you are expecting menus to open to
the side of the parent menu and that isn't how paper-menu/submenu work...

-Karl Tiedt

On Wed, May 25, 2016 at 10:01 PM, Ruslan Zhunusov <ren...@gmail.com> wrote:

> What is correct way to make sidemenu with paper-menu with list of items
> that use icons on the left.
>
> 
> 
>  
>  
>  Inbox
>  
>  
>  
>  
> Submenu 1
>  
> 
> 
> Submenu 2
> 
> 
> 
> Submenu 3
> 
>  
>  
> 
> 
> Second menu
> 
> 
>
> Not working.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/dec6e8e2-d10d-4d84-a17d-89c954e134a2%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/dec6e8e2-d10d-4d84-a17d-89c954e134a2%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFT5oknGxc5aycKsqgW1XkA771%2BX1EtNTzPxOV2C5LLNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Search JSON Objects on button click base on user input in Polymer

2016-05-24 Thread Karl Tiedt
This is probably the most polymer your demo can be...

note: I fixed the imports to use polygit and removed your search button
completely

This can probably be more efficient, I needed a distraction from work so I
tweaked things for you ;)

http://plnkr.co/edit/Qzky7tpvGjNXu8Tt77hw?p=preview

-Karl Tiedt

On Fri, May 20, 2016 at 3:35 PM, Buba Bayo <bba...@gmail.com> wrote:

> I am pretty new to Polymer and i have this issue where i want users to be
> able to  search through the JSON objects on button click (SEARCH BUTTON)
>  base on the user input and select option and return the message like
> “match found or exist”  if the values enter by the user  exists in the json
> object/array and if not return message that it is "not found”.
>
> Also I want that results to be shown on another page onclick of search
> button.
>
> Here is what i have so far and nothing is returning.
>
>
>  
>   
>   
>https://rawgit.com/Polymer/polymer/v1.2.2/polymer.html; />
>https://elements.polymer-project.org/bower_components/webcomponentsjs/webcomponents-lite.js</a>
> ">
>https://elements.polymer-project.org/bower_components/iron-elements/iron-elements.html
> ">
>http://www.polymer-project.org/1.0/components/paper-input/paper-input.html
> ">
>http://www.polymer-project.org/1.0/components/paper-dropdown-menu/paper-dropdown-menu.html
> ">
>   
>   .taller {
>   height: 120px;
>   }
>
> [vertical-align="top"] ul {
>   margin-top: 0;
> }
>
> [vertical-align="bottom"] ul {
>   margin-bottom: 0;
> }
>
> button,
> paper-button {
>   border: 1px solid #ccc;
>   background-color: #eee;
>   /*padding: 1em;*/
>   border-radius: 3px;
>   cursor: pointer;
> }
>
> button:focus {
>   outline: none;
>   border-color: blue;
> }
>   
> 
>
> 
>   
> 
>   
>   
>   
> Select Department
> Digital Engagement
> Shared Research
> Research
>   
>   
>   Search
>   
>   
>   
> 
>   
>  style="font-size:15px;font-family:'Open Sans'">
>   {{item.name}} - {{item.dept}}
> 
> 
>   
> 
>   
>
>   
>   
>
> 
> 
>   Polymer({
> is: 'employee-list',
> properties: {
>   items: {
> type: Array
>   },
>   Search: {
> type: String
>
>   }
>
> },
> ready: function() {
>   this.items = [{
> 'name': 'Jack',
> 'dept': 'Digital Engagement'
>   }, {
> 'name': 'Buba',
> 'dept': 'Research'
>   }, {
> 'name': 'Kashif',
> 'dept': 'Shared Research'
>   }];
> },
> Search: function() {
>   var searchVal =
> document.getElementById('searchCompany').value,
> i, len, data, prop, matches = [],
> val, items = [];
>   console.log(searchVal);
>   for (i = 0, len = items.length; i < len; i++) {
> data = items[i];
> console.log(data);
> for (prop in data) {
>   if (data.hasOwnProperty(prop)) {
> val = data[prop];
> if (typeof val !== 'undefined' && val.toLowerCase &&
> val.toLowerCase().indexOf(searchVal) >= 0) {
>   // this data matches
>   matches.push(data);
>   break;
> }
>   }
>
> }
> showMatches(matches);
>   }
>
> },
> showMatches: function(matches) {
>   var elem = document.getElementById('result'),
> i, len, content = '';
>   if (typeof matches === 'undefined' || !matches.length) {
> elem.innerHTML = '<i>No results found</i>';
> return;
>   

Re: [polymer-dev] loading polymer app into an iOS WKWebView fails

2016-05-02 Thread Karl Tiedt
Nothing in polymer appears to reference file:// anything... this sounds
like it may be a Cordova issue?

-Karl Tiedt

On Mon, May 2, 2016 at 9:17 AM, Jim Trainor <jim.trainor.kan...@gmail.com>
wrote:

> Polymer applications fail to load in an iOS WKWebView, as supported by
> Cordova. The root cause of the problem is that WKWebView does not permit
> loading of content via file:.  Cordova's support for WKWebView bypasses
> this restriction by implementing a in-app web server to host the static
> content. Polymer fails because the polymer code tries to load a local,
> static, html file, using a file:// url via an XHR request. The file:// XHR
> request is rejected by WKWebView.
>
> This has turned into a blocking issue for publishing Polymer applications,
> using Cordova, on iOS.
>
> Does this sound familiar to anybody?
>
> Is there anyway to cleanly define the URL where Polymer loads elements (or
> whatever is loaded via the file:// XHR)?
>
> Here is the Apache bug: Allow WKWebView to proxy file:// url loading in
> XmlHttpRequest.open
> <https://issues.apache.org/jira/browse/CB-10109?jql=project%20%3D%20CB%20AND%20labels%20%3D%20wkwebview-known-issues>
>
>
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/72dda4a2-5447-4dec-a4e7-b075a02927ad%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/72dda4a2-5447-4dec-a4e7-b075a02927ad%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFjPPVYEnwdN9K0x0TT1WxgtXhKtwat_mrRaO5-jaUGjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Anchor tag data-route attribute?

2016-04-20 Thread Karl Tiedt
Your snippet is incomplete, if you look at the entire file you will see a
selector of some sort, iron-pages, paper-menu etc... that has
attr-for-selected="data-route"

data attributes are just an HTML5 feature that is being leveraged here...

-Karl Tiedt

On Wed, Apr 20, 2016 at 11:14 AM, Forumer <sateesh.gu...@gmail.com> wrote:

> Being a beginner to Polymer, I'm trying to understand syntax. I see the
> following in polymer-starter-kit:
>
>  
> 
> Home
>   
>
> where can I find documentation for anchor tag with "data-route" attribute?
> Is this Anchor tag as extended by Polymer?
>
> Thanks
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/0af4facf-ee3b-4de6-8947-eb3005fb51b6%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/0af4facf-ee3b-4de6-8947-eb3005fb51b6%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEHGeceiaS9EV2%3DFK9tqwc05si6XyNcbAW4atXwka1MdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] How to get all elements by class created in a template "dom-repeat"

2016-04-14 Thread Karl Tiedt
Why not make class a computed binding? Otherwise use this.querySelectorAll
the $$ is a wrapper for the singular
On Apr 14, 2016 16:31, "Colin Cannon"  wrote:

> How can I select and add an additional class to all elements of a certain
> class that were created by a dom-repeat?  For example:
>
> {{item.spot}}
> 
>
> In the Polymer() definition, how can I add an additional class,
> "secondClass" to add the div's with the class "bar"?
>
> this.$$(''bar") only returns the first div
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/75ebd564-30e0-45cf-939c-d7d4946d788d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEYxFb9sAqxpqsDPWVccUJSXSZ2Wcnv%2Bz7CRUQqKiQr5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] DoD IEA v2 0_Volume II_Description Document_Final_20120806.pdf

2016-04-04 Thread Karl Tiedt
Going to go out on a limb here and guess this was not meant for the Polymer
Google group? If I am wrong, it might be worthwhile to provide some context
next time ;)

-Karl Tiedt

On Mon, Apr 4, 2016 at 3:15 PM, Robert Engelbrecht <
engelbrecht7...@gmail.com> wrote:

> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CAFJ8XU4n_jp%3DgvTvm6c-%2Bmj5Z5Uov9ip3HakixQC%3DH%2B%3DHhDyMQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CAFJ8XU4n_jp%3DgvTvm6c-%2Bmj5Z5Uov9ip3HakixQC%3DH%2B%3DHhDyMQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTGABaDbtSzDF8eS1JEEViSWDiQO%3DV6vicdW8gixxrMUgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Multiple instances of elements seem to be sharing property values ?

2016-03-19 Thread Karl Tiedt
Read the docs on properties and you'll see a statement about using:

value: function() { return []; }

In relation to arrays and objects with the appropriate change to the
function.
On Mar 18, 2016 07:42, "Rob Stone"  wrote:

> I've just discovered something that is a little confusing and was hoping a
> polymer expert could explain what is going on :)
>
> I've defined an element with an array property (initialised to empty) with
> an attach method that then uses 'this.push' to add items to the array. If I
> then create multiple instances of the element, in the browser debugger it
> looks like the array is shared across all of these instances as each
> subsequent copy of the element seems to inherit the array values from
> previous elements. What's even more confusing is that if I create a
> dom-repeat that iterates over the array, it shows the 'correct' values for
> each instance, ie. it seems to be using an array that doesn't have
> duplicate values in it.
>
> I have a very small test project that shows this problem, however I
> haven't got anywhere to host it so cannot put a link up.
>
> Cut down code follows:
>
> 
> 
> 
> 
> [[item]]
> 
> 
>
>
> 
> (function () {
> Polymer({
> is: 'test-element',
> properties: {
> items: {
> type: Array,
> value: []
> }
> },
>
>
> attached: function () {
> console.log('attached');
> this.push('items', "1");
> this.push('items', "2");
> this.push('items', "3");
> console.log('items=' + this.items); // The 1st instance
> of the element displays 'items=1,2,3' the 2nd displays 'items=1,2,3,1,2,3'
> 
> }
> });
> })();
> 
> 
>
> 
> 
> instance test
>  src="bower_components/webcomponentsjs/webcomponents-list.min.js">
> 
> 
> 
> One
> Two
> 
> 
>
>
>
> I'm hoping this is a simple misunderstanding on my part, but it does have
> some slightly annoying implications for a project I am working on.
>
> Rob
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/6a372d9b-fc65-4dd6-9a66-f6020aa39c1f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEP5L4HE2NKs_ccMQ18ZiyfuafbGf9HwZdgBcJir9VJMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Multiple instances of elements seem to be sharing property values ?

2016-03-19 Thread Karl Tiedt
I cant imagine adding code to prevent a native JS feature will happen...
and sometimes this effect *is* desired. Is adding a 1 line function that
much trouble? This is the first complaint I can remember about this.
However if you feel that strongly about it, I encourage you to file an
issue on the Polymer/Polymer <https://github.com/polymer/polymer/issues>
github repo

-Karl Tiedt

On Fri, Mar 18, 2016 at 9:56 AM, Rob Stone <rob.a.st...@gmail.com> wrote:

> Would it be feasible for polymer to auto-wrap array/object types in a
> function call? I can't imagine anyone wanting the existing behaviour - but
> if this was deemed to be necessary, then a new 'disableAutoWrap' option
> could be added to the type definition object?
>
>
> On Friday, 18 March 2016 16:13:54 UTC, Karl Tiedt wrote:
>>
>> It is how Javascript has always worked... Arrays and Objects are by
>> reference, so in this situation, you have to return a new instance to get
>> that separation.
>>
>> In other libraries this was usually handled in the constructor with
>> this.varname = []; but in Polymer, if you want to handle it in the
>> properties definition (recommended way) requires the function call.
>>
>> -Karl Tiedt
>>
>> On Fri, Mar 18, 2016 at 9:00 AM, Rob Stone <rob.a...@gmail.com> wrote:
>>
>>> Thinking about the mechanics of this, I can now see why it works this
>>> way. However, it is still a pretty nasty gotcha and it might be worth
>>> looking at that area of the documentation and making this issue a bit more
>>> obvious.
>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/08b6ea93-1fde-4d29-8271-71b5cf859343%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/08b6ea93-1fde-4d29-8271-71b5cf859343%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/efa312f3-1cdc-4775-8efc-b3edec890adc%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/efa312f3-1cdc-4775-8efc-b3edec890adc%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTF5c%2BLVoBEi9G7%2Bbe03omsRR7nar6S4QOcr8uBVxKmsaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Multiple instances of elements seem to be sharing property values ?

2016-03-18 Thread Karl Tiedt
It is how Javascript has always worked... Arrays and Objects are by
reference, so in this situation, you have to return a new instance to get
that separation.

In other libraries this was usually handled in the constructor with
this.varname = []; but in Polymer, if you want to handle it in the
properties definition (recommended way) requires the function call.

-Karl Tiedt

On Fri, Mar 18, 2016 at 9:00 AM, Rob Stone <rob.a.st...@gmail.com> wrote:

> Thinking about the mechanics of this, I can now see why it works this way.
> However, it is still a pretty nasty gotcha and it might be worth looking at
> that area of the documentation and making this issue a bit more obvious.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/08b6ea93-1fde-4d29-8271-71b5cf859343%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/08b6ea93-1fde-4d29-8271-71b5cf859343%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHP0vacjfGFo9chEp5xcq4-SGuBTUkve94_BR2Nu_FSMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Responsive designs

2016-02-27 Thread Karl Tiedt
You might check out
https://github.com/Saulis/iron-data-table/releases/tag/v1.0.0-alpha3
instead, it may achieve your goals.
On Feb 27, 2016 10:42,  wrote:

> Hi, i am trying to use iron-grid but for example this code doesn't respect
> the sizes in chrome :( but in EDGE it works and i donn't know why :(
>
>  
> 
> I am full-width on mobile (s12 m6)
> 
> 
>
> El viernes, 18 de septiembre de 2015, 17:11:49 (UTC-5), the5h...@gmail.com
> escribió:
>>
>> I have created an easy to use grid system for polymer. Here's the link!
>>
>> https://github.com/The5heepDev/iron-grid
>>
>> On Thursday, July 3, 2014 at 6:28:36 AM UTC-4, leif.j...@fact.co.uk
>> wrote:
>>>
>>> This is a bit a newb question, so do forgive. I'm fairly new to Polymer,
>>> but it's already proving to be a life safer. One thing that I can't see is
>>> how to make content responsive.
>>>
>>> The scaffold, toolbar and menus are all responsive, but any content you
>>> place is not. I was wondering wether I'm missing something, or is it case
>>> of sorting it out with CSS or using something like Bootstrap Grids.
>>>
>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/21072f2f-59d5-44a7-92ba-d8a9ffcd5aa0%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEWTh10reUsWoJRWvqwhEy87J%2Bdtjeum2HvKtto_AM9-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Unsubscription

2016-02-27 Thread Karl Tiedt
Opt out instructions are in the footer of every email. It's just a Google
group, you have full control over your membership and email preferences.
On Feb 27, 2016 03:28, "vineet vinayak"  wrote:

> Kindly unsubscribe me from this mailing list.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CAOC%2B2VPxLgJ-Z0OvbNLgpXoS1Q4Kz7nLZ9rP2-Zozq_1Q_jKEQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHNGR0YpiRsWNt2QddtiWaF8%3DraHikWEEH%2B22b1FioP%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Dendrimer

2016-02-22 Thread Karl Tiedt
Yeah this is a mailing list for the Polymer javascript project
<http://polymer-project.org> not a science group ;)

-Karl Tiedt

On Mon, Feb 22, 2016 at 9:28 PM, <stephchingtiy...@gmail.com> wrote:

> Hi! I'm new to polymers and while I was looking through some examples, I
> found what was called a "tailored" dendrimer where one of the terminal
> surface groups is different from the rest. How might this be synthesised?
> I've looked through so many textbooks but none of which mention this.
> Hopefully someone here can help!
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/44bf1149-3749-4c7c-b628-97e87bc4a98d%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/44bf1149-3749-4c7c-b628-97e87bc4a98d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHHwwN6rmer7Nmy1r4RXNDYyOYnqSML7zmJ6Ar8Hh43PA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Not knowing code. How long will it take to learn Polymer?

2016-02-18 Thread Karl Tiedt
The more appropriate question would probably be, 'how long would it take to
learn Javascript'

That is an arbitrary question that nobody here can answer, we know nothing
about you or your understanding of code.

Start with some JS courses on Code Academy and see how things go ;)

-Karl Tiedt

On Thu, Feb 18, 2016 at 4:24 PM, Hi Low <bozley2...@gmail.com> wrote:

> Thanks guys
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/3340039a-2639-4718-8992-cdda4268547d%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/3340039a-2639-4718-8992-cdda4268547d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTEUt83Qopdn%3DA_F-b9LTx7O%2BH_neS10p4zSrBt%2BuJbZgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Ask for globals

2016-02-14 Thread Karl Tiedt
It's just JavaScript... No special consideration required if you feel you
must use globals.
On Feb 14, 2016 12:03, "Pedro Nicolás Cuadra Guamán" 
wrote:

> Hello again Polymer, team. I'm looking for a way to make globals, is to
> say, variables or functions, because I dont want to make a huge web
> component that contains theese globals.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CABUE4gibJBLCk2igb9hcrJ1D2nT4H5iDuRdk9FcFSS1Pc6RE0g%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHRBLeWWgYedSC2t%2BdT78K3EySHDQQVX8y6pS3Hcwi9xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] where can i find a list of "on-events"?

2016-02-08 Thread Karl Tiedt
Ahhh gotcha, that would be the 'on-value-change' or maybe -changed I forget
which it is... basically ANY property will fire an on-*-change[d] event,
which I believe requires that property to be notify:true (but could be
wrong).

-Karl Tiedt

On Mon, Feb 8, 2016 at 12:23 PM, Colin Cannon <colincan...@gmail.com> wrote:

> Hi Karl, thanks for the reply.  I did see those events listed, but I am
> looking for something like an on-change event to fire when the selected
> value of the drop down changes.  For instance, right now as a test I have:
>
> on-click="_test"
>
> as an attribute in my paper-dropdown-menu element, and that is not listed
> anywhere on that doc page, but it does fire an event when clicked.
>
> *maybe I should have asked for on-event attributes
>
> On Monday, February 8, 2016 at 12:16:43 PM UTC-8, Karl Tiedt wrote:
>>
>> Like the ones listed here?
>> https://elements.polymer-project.org/elements/paper-dropdown-menu#events
>>
>> ;)
>>
>> -Karl Tiedt
>>
>> On Mon, Feb 8, 2016 at 12:13 PM, Colin Cannon <colin...@gmail.com> wrote:
>>
>>> I am using a paper-dropdown-menu.  I want to fire a custom event when
>>> the drop down is changed (maybe on-change?). I couldn't find instructions
>>> in the docs on how to do this.  Anybody know a list of on-events that I can
>>> use with polymer elements?  I am sure it is in the docs somewhere, but I am
>>> having no luck finding it.
>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/0fc3e249-6d68-4802-9a55-9ef28110dfe0%40googlegroups.com
>>> <https://groups.google.com/d/msgid/polymer-dev/0fc3e249-6d68-4802-9a55-9ef28110dfe0%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/4ce5e232-d392-4599-86fe-10c9644a9dde%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/4ce5e232-d392-4599-86fe-10c9644a9dde%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTF6XNtt%3Daq%2ByZvp21Ci5FBv%2BxUCx__zRt-Hau2_n84nYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] where can i find a list of "on-events"?

2016-02-08 Thread Karl Tiedt
Like the ones listed here?
https://elements.polymer-project.org/elements/paper-dropdown-menu#events

;)

-Karl Tiedt

On Mon, Feb 8, 2016 at 12:13 PM, Colin Cannon <colincan...@gmail.com> wrote:

> I am using a paper-dropdown-menu.  I want to fire a custom event when the
> drop down is changed (maybe on-change?). I couldn't find instructions in
> the docs on how to do this.  Anybody know a list of on-events that I can
> use with polymer elements?  I am sure it is in the docs somewhere, but I am
> having no luck finding it.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/0fc3e249-6d68-4802-9a55-9ef28110dfe0%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/0fc3e249-6d68-4802-9a55-9ef28110dfe0%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFGRr8HoSDjHGzY5rfmjXrwRwQyRxj2sZYRyS46a17Vag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] insert html fragment from database

2016-01-27 Thread Karl Tiedt
Currently polymer has no means of safe html injection but you can use a
really dirty hack and set your divs innerHTML property as inner-h-t-m-l="{{
producct.info}}" and that should work for now...
On Jan 27, 2016 09:17, "Marco Stolle"  wrote:

> Hello Eric
>
> this element receives properties i got from a database via a parent
> element via iron-ajax, the 'product.info' property already contains html
> markup tags ( a piece of html created in the past with an online wysiwyg
> editor and stored in the database). When i display my page, for the
> product.info part it shows raw html on the screen instead of rendered
> html.
>
>
>
> 
>   
> 
> 
>   :host {
> display: block;
>   }
>   div.addToCart {
> border: 1px solid grey;
> padding:5px;
>   }
>   div.clear {
> clear: both;
>   }
> 
> 
> 
>   {{product.name}}
>   
> {{product.description}}
>   
>
>   
> {{product.info}}
>
>   
>
>  
>
>   
>
>   
> (function() {
>   'use strict';
>   Polymer({
> is: 'ws-product',
> properties: {
>   product: {
> name: {
>   type: String
> },
> description: {
>   type: String
> },
> info: {
>   type: String
> }
>   }
> }
>   });
> })();
>   
> 
>
>
> Op woensdag 27 januari 2016 17:19:25 UTC+1 schreef Eric Bidelman:
>>
>> Can you provide a code snippet of what you're doing?
>>
>> On Wed, Jan 27, 2016, 6:39 AM Marco Stolle  wrote:
>>
>>> Hello,
>>>
>>> via ajax i get properties of a page, among those properties there are a
>>> few already containing html tags. when i include these in my template the
>>> page shows the html code instead of rendering it.
>>> What step am i missing, i presume there is an element for that?
>>>
>>> thanks
>>>
>>> Marco
>>>
>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Polymer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to polymer-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/polymer-dev/1d64850a-d018-46a1-8b96-fe570c77a1a3%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/0c2cfd91-c7f5-4a98-9c1d-b5ba0f5a4e64%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHQ8hHfGGRrVYP5UfYfkL6n%2BbTzsbqRX1%3DpK%3D7U%2BD8wEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] how to use paper-input to show errors

2016-01-27 Thread Karl Tiedt
If you look at the demo for paper-input there are examples...

https://elements.polymer-project.org/elements/paper-input?view=demo:demo/index.html=paper-input

the section 'Inputs can validate automatically or on demand, and can have
custom error messages' shows validation/error messages in use

-Karl Tiedt

On Wed, Jan 27, 2016 at 9:49 AM, Colin Cannon <colincan...@gmail.com> wrote:

> From reading the docs I can't figure out how to use paper-input to show
> errors on input.  I use iron-ajax to make a request to my server and it
> returns info on whether my fields were valid or not along with an error
> description.  How can I use polymer to update paper-input to show the
> errors.  Any body know of a resource that shows examples or something for a
> dummy like me??? please help
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/ad943d32-0fc4-4f3d-bca2-602086b97090%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/ad943d32-0fc4-4f3d-bca2-602086b97090%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTHHDsx2ROd9XMDns5BE3VrXeHRO_OgCCqq%2BA7nsFT8eRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[polymer-dev] Re: iron-media-query inside paper-toolbar doesn't load template

2015-09-10 Thread Karl Tiedt
I'm not saying you are restricting it, I am saying, if that if that is in
fact part of a custom element, is="dom-bind" is not correct to my knowledge
and is probably causing the problems.

-Karl Tiedt

On Thu, Sep 10, 2015 at 1:40 AM, <itsashi...@gmail.com> wrote:

> Thank you.
> I am new to Polymer. Couldn't figure it out. Had no clue I was restricting
> the iron-media-query by dom-binding to the wrong template.
>
> On Thursday, September 10, 2015 at 1:46:45 PM UTC+5:30, kti...@gmail.com
> wrote:
>>
>> If this is part of a dom-module why are you dom-binding the outer
>> template? I would hazard a guess (without a more complete code snippet) I
>> would say this template is outside the context it was previously and
>> variables/properties are not assigned as they were.
>>
>> But this is all just speculation based on the first observation.
>>
>>
>> On Wednesday, September 9, 2015 at 1:10:07 PM UTC-7, itsas...@gmail.com
>> wrote:
>>>
>>>  
>>> 
>>> 
>>> 
>>> 
>>> >> icon="account-box">
>>> >> icon="settings">
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> It works directly when paper-toolbar was inside paper-header-panel
>>> inside body. But since I have moved the whole code to a new dom-module, it
>>> has stopped working.
>>> I am not getting any error messages in the console.
>>>
>>> Any suggestions?
>>
>>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADNgbTFeOiXO_zo_SC_ZOpVPJ0OdA9uKO2bVG1Q95C-Rb2i28A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.