How to show the Google Picker API dialog after user presses a button or an image?

后端 未结 1 1802
星月不相逢
星月不相逢 2021-01-03 16:38

is any HTML expert out there who can help me?

I want to show the Google Picker API Dialog after the user clicks on a button or an image and I want to show the resu

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 17:17

    I now solved it myself. The main loader of Google Javascript APIs is the Google Loader.

    Look here at the documentation: http://code.google.com/intl/en/apis/loader/

    Insert this code inside ... of the HTML (a Google Docs Picker). The main function for loading after a click picker is newPicker() . It loads it the picker and sets the first callback for handling the picker.

    
    
    

    Link in HTML:

    Import from your Google Docs
    

    When the user clicks on the HTML link the picker will be shown.

    0 讨论(0)
提交回复
热议问题