1 | /**
|
2 | * lightGallery comments module
|
3 | * Supports facebook and disqus comments
|
4 | *
|
5 | * @ref - https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables
|
6 | * @ref - https://github.com/disqus/DISQUS-API-Recipes/blob/master/snippets/js/disqus-reset/disqus_reset.html
|
7 | * @ref - https://css-tricks.com/lazy-loading-disqus-comments/
|
8 | * @ref - https://developers.facebook.com/docs/plugins/comments/#comments-plugin
|
9 | *
|
10 | */
|
11 | import { LgQuery } from '../../lgQuery';
|
12 | import { LightGallery } from '../../lightgallery';
|
13 | import { CommentSettings } from './lg-comment-settings';
|
14 | export default class CommentBox {
|
15 | core: LightGallery;
|
16 | settings: CommentSettings;
|
17 | private $LG;
|
18 | constructor(instance: LightGallery, $LG: LgQuery);
|
19 | init(): void;
|
20 | private setMarkup;
|
21 | toggleCommentBox(): void;
|
22 | addFbComments(): void;
|
23 | addDisqusComments(): void;
|
24 | destroy(): void;
|
25 | }
|