.externalcontentGadgetGoogleplus()
Categories: UI
.externalcontentGadgetGoogleplus( [ options ] )
Subclass: de_epages
Inherit: (Subclass: de_epages) .widget()
Plugin: de_epages.externalcontent.gadget.googleplus
Description: Inserts Google-Plus button.
-
.externalcontentGadgetGoogleplus( [ options ] )
version added: 6.15.0options A map of additional options to pass to the method.
The Widget inserts a Google-Plus button into the target element on which the widget is executed on.
-
The Widget is executed on a pageelement and is called with passing optional parameters. In this example the Google-Plus button references to the web page of ePages, has the biggest available size and shows the amount of already given +1 for that page in a bubble next to the button.
Code:
<script> jQuery.ready({ plugin: [ 'e_epages.externalcontent.gadget.googleplus' ], DOM: true }, function($){ var widget = de_epages('<div>').externalcontentGadgetGoogleplus({ href : "http://www.epages.com/de/", size : "tall", annotation : "bubble" }); }); </script>
-
destroy
-
.externatcontentGadgetGoogleplus('destroy')
version added: 6.15.0
This method removes the container on which the Google-Plus button has been appended to.
-