The expectation is that you have your polymer-element fire an event instead
of calling into a controller. You can attach a listener on or above it in
the DOM tree, and listen for the signal.

On Fri, Oct 3, 2014 at 6:56 AM, Jeff Thompson <[email protected]> wrote:

> Done...
> https://github.com/Polymer/polymer-gestures/issues/68
>
> thanks.   I'm trying hard to integrate the paper components because I
> really like the tactile response.   It's not easy still though because my
> app in an angular app, and while I see some ways out there that one can
> bind the two together, i've only been able to get that working for a
> variable.   what i need to find out how to get working is to be able to
> call an API in my controller from the web-component.    If you happen to
> know how pls point me in the right direction :)
>
> I think angular team is working on being able to have angular traverse
> shadow-com right?
>
> anyway thanks!
>
>
>
> On Thu, Oct 2, 2014 at 3:58 PM, <[email protected]> wrote:
>
>> My tech stack is Appgyver Steroids app with Ionic.  I'm pulling in the
>> paper elements cuz I like them.   BUT not all controls are there, like a
>> date picker.  When I put in a standard date input (just html5) when I click
>> it I get an error in polymer.  Is there any way I can put a catch in there
>> so it's just ignored? I'd like to be able to co-mingle paper components and
>> just standard html5.
>>
>> my input:
>>  <label class="item item-input">
>>   <span class="input-label">Date</span>
>>   <input type="date">
>> </label>
>>
>> the error:
>> [Error] UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0: The Event's
>> type was not specified by initializing the event before the method was
>> called.
>> dispatchEvent ([native code], line 0)
>> dispatchEvent (platform.js, line 13)
>> dispatchEvent (polymer.js, line 11)
>> fireEvent (polymer.js, line 11)
>> up (polymer.js, line 11)
>> up (polymer.js, line 11)
>> processTouches (polymer.js, line 11)
>> touchend (polymer.js, line 11)
>> (anonymous function) ([native code], line 0)
>> eventHandler (polymer.js, line 11)
>> (anonymous function) ([native code], line 0)
>> s (platform.js, line 12)
>> r (platform.js, line 12)
>> o (platform.js, line 12)
>> m (platform.js, line 12)
>>
>> NOTE that I get this error when I attempt to use any form element in same
>> page where i've loaded your platform.js and use paper components.
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Polymer" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/polymer-dev/MQZ4YkdkjEA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/polymer-dev/125dab74-12ab-4c1b-864d-368817a8479a%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/125dab74-12ab-4c1b-864d-368817a8479a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> thanks,
> Jeff
>
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CAEy6QoWJT61C%3DqEkuAEmKjTz83dVzjsn7XMpHZKNjXW6YbfXNQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CAEy6QoWJT61C%3DqEkuAEmKjTz83dVzjsn7XMpHZKNjXW6YbfXNQ%40mail.gmail.com?utm_medium=email&utm_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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAHbmOLZ7DwbVzxT0rBwFsG0MSzNOvF8cuaufLszbN%2BTzAGzmWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to