The `oShare.open` open event fires when a social network share action is triggered, to open a new window.
The `oShare.ready` fires when a o-share instance has been initialised.
Initialises the Share class, rendering the o-share element if it's empty with config options, or from corresponding data attributes and sets up dom-delegates. Dispatches 'oShare.ready' at the end
Destroys the Share instance, disables dom-delegates
Initialises all o-share components inside the element passed as the first parameter
If using the Build Service, add
o-share@^8.3.0 to your
script and link tags.
If using the npm package manager for a Manual Build, run
npm install --save-peer "@financial-times/o-share@^8.3.0".
o-share is maintained directly by the Origami team. If you have any questions about o-share or Origami in general, we are happy to help. 😊