This package has been deprecated

Author message:

This package is deprecated, use ngx-disqus instead.

ng2-awesome-disqus
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

npm Build Status npm

Angular Disqus Module

Add disqus to your app instantly | live demo

Installation

Install it with npm

npm install ng2-awesome-disqus --save

Basic usage:

Add DisqusModule in your root module

import {DisqusModule} from "ng2-awesome-disqus";
@NgModule({
  imports: [
    DisqusModule
  ]
})

Add disqus component

<disqus [shortname]="shortname" [identifier]="pageId" ></disqus>

Advanced usage:

See Disqus official documentation (JavaScript configuration variables) before using these inputs.

<disqus [shortname]="shortname" [identifier]="pageId" 
    [url]="customUrl" [categoryId]="catId" [lang]="'en'"
      
    (comment)="onComment($event)"
  ></disqus>

Use the output (comment) to get the responses for the new comments posted by users.

Issues

If you identify any errors in this component, or have an idea for an improvement, please open an issue. I am excited to see what the community thinks of this project, and I would love your input!

Author

Murhaf Sousli

License

license

Package Sidebar

Install

npm i ng2-awesome-disqus

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • murhaf