Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Notify when "supported" changes. #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tekkamanendless
Copy link
Contributor

This was significant for me because I was loading the "platinum-push-messaging" element within a "dom-if" template. I was able to bind to "enabled", but my app shows a separate message if the browser doesn't support push-messaging yet.

By adding "notify: true" to the "supported" property, it allowed me to bind to the "platinum-push-messaging" element within a "dom-if".

This was significant for me because I was loading the "platinum-push-messaging"
element within a "dom-if" template.  I was able to bind to "enabled", but my
app shows a separate message if the browser doesn't support push-messaging yet.

By adding "notify: true" to the "supported" property, it allowed me to bind
to the "platinum-push-messaging" element within a "dom-if".
@eskan
Copy link

eskan commented Mar 24, 2017

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants