logo

THEOplayer > SocialSharing

SocialSharing interface

The social sharing API which can supplement the UI with a social sharing panel.

Signature:

export interface SocialSharing 

Remarks


- Available since v2.14.5.

Properties

Property

Type

Description

items

SocialSharingItem[]

List of social sharing items which can be shown.

showing

boolean

Whether the social sharing panel is showing.

url

string

The URL that will be shared.

Methods

Method

Description

hide​(): void

Hide the social sharing panel.

show​(): void

Show the social sharing panel.

Property Details

items

List of social sharing items which can be shown.

Signature:

items: SocialSharingItem[];

showing

Whether the social sharing panel is showing.

Signature:

showing: boolean;

url

The URL that will be shared.

Signature:

url: string;

Method Details

hide

Hide the social sharing panel.

Signature:

hide(): void;

show

Show the social sharing panel.

Signature:

show(): void;
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2020. All Rights Reserved.
Leuven
New York
Singapore
Barcelona