Home Reference Source Repository
public class | source

ShareLink

Extends:

preact~Component → ShareLink

Share Link element shows the link in another section

Example:

<ShareLink onActivate={()=>{}}/>

Constructor Summary

Public Constructor
public

constructor

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

close()

close the share link win

public

componentDidMount

public
public

highlight input

public

open()

open and get the input data

public

render(props: object, state: object): *

render function

public

toggle()

toggle share box

Public Constructors

public constructor() source

constructor

Public Members

public shareInput: * source

Public Methods

public close() source

close the share link win

public componentDidMount() source

componentDidMount

public goClick() source

public highlightAll() source

highlight input

public open() source

open and get the input data

public render(props: object, state: object): * source

render function

Params:

NameTypeAttributeDescription
props object
state object

Return:

*

public toggle() source

toggle share box