Lines Matching refs:data
116 … as 1, but it also automatically initializes elements with the attribute `data-social-share-privac…
130 <div data-social-share-privacy="true"></div>
132 <div data-social-share-privacy="true"></div>
252 options object passed to the `socialSharePrivacy` function or via `data-*`
254 the `data-*` attributes will overwrite the options from the passed options
258 ### `data-*` attributes
260 In order to pass the options as `data-*` attributes simply prepend `data-` to
262 attribute. If you want to set an option of an service just use a `data-*`
269 data-uri="http://example.com/"
270 data-image="http://example.com/image.png"
271 data-services.tumblr.type="photo"
272 data-order="facebook twitter tumblr"></div>
281 data-uri="http://example.com/"
282 data-image="http://example.com/image.png"
283 data-services.tumblr='{"type":"photo"}'
284 data-order="facebook twitter tumblr"></div>
292 data-uri="http://example.com/"
293 data-image="http://example.com/image.png"
294 data-services='{"tumblr":{"type":"photo"}}'
295 data-order="facebook twitter tumblr"></div>
302 data-options='{
322 data-options="{
341 The main advantage of using the `data-*` attributes is, that you can easily
346 **NOTE:** When passing service options via `data-*` attributes all option