pinnackl / photos-contest-fb

Facebook contest manager application
MIT License
2 stars 0 forks source link

[feature] auto login api #1

Closed syu93 closed 8 years ago

syu93 commented 8 years ago

If the auto-login property is set. the user is prompted to connect at page load.

To do so, it's need to wait until the fb object is ready. (data binding : {{ready}})

    <template is="dom-bind" id="app">
        <fb-api loaded="{{ready}}"></fb-api>
        <contest-view api-loaded="{{ready}}"></contest-view>
    </template>

But the the do not listen for the property change