import { Component , Input , ElementRef , Renderer2 } from '@angular/core' ; import { FBMLAttribute , FBMLComponent } from '../fbml-component' ; name shortdesc fbdoc description usage @ Component ( { selector : 'fb-comments' , template : '' } ) export class FBCommentsComponent extends FBMLComponent { /**
     * The color scheme used by the comments plugin. Can be `light` or `dark`. Defaults to `light`.
     */ @ Input ( ) @ FBMLAttribute colorscheme : string ; /**
     * The absolute URL that comments posted in the plugin will be permanently associated with.
     * All stories shared on Facebook about comments posted using the comments plugin will link to this URL.
     * Defaults to current URL.
     */ @ Input ( ) @ FBMLAttribute href : string = window . location . href ; /**
     * A boolean value that specifies whether to show the mobile-optimized version or not. If no value is given, it will be automatically detected.
     */ @ Input ( ) @ FBMLAttribute mobile : boolean ; /**
     * The number of comments to show by default. The minimum value is `1`. Defaults to `10`.
     */ @ Input ( ) @ FBMLAttribute numposts : number ; /**
     * The order to use when displaying comments. Can be `social`, `reverse_time`, or `time`. The different order types are explained [in the FAQ](https://developers.facebook.com/docs/plugins/comments#faqorder). Defaults to `social`
     */ @ Input ( ) @ FBMLAttribute orderBy : string ; /**
     * The width of the comments plugin on the webpage.
     * This can be either a pixel value or a percentage (such as 100%) for fluid width.
     * The mobile version of the comments plugin ignores the width parameter and instead has a fluid width of 100%.
     * The minimum width supported by the comments plugin is 320px.
     * Defaults to `550px`.
     */ @ Input ( ) @ FBMLAttribute width : string ; constructor ( el , rnd ) { super ( el , rnd , 'fb-comments' ) ; } }