Icontem

File: ts/SocialMediaInterface.ts

Recommend this page to a friend!
  Classes of Ovidiu Bokar  >  Social Media Sharing  >  ts/SocialMediaInterface.ts  >  Download  
File: ts/SocialMediaInterface.ts
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Social Media Sharing
Create social media sharing links
Author: By
Last change: Updated tests to check for facebook class, id, app id, app redirect_url and app url

Update readme

Update package.json

updated libraries

added more icons

Added fontawesome & popup window, processed custom test file

updated gulp & code documentation

updated code documentation

updated node version

update readme and popup

reverted node

remove production dependency

travis slack notification

fixed package.json

updated docs

updated version
Date: 2 years ago
Size: 1,095 bytes
 

Contents

Class file image Download
export interface SocialMediaInterface{
  /**
   * Store user configurations
   */
  userConfig: any;
  /**
   * Store default configuration
   */
  config: any;
  /**
   * Get all configuration as one single object
   */
  getConfig(): any;
  /**
   * Set the user config globally
   * @param user
   */
  userSetup(user): any;
  /**
   * Merge default config with user config
   * @param obj1
   * @param obj2
   */
  mergeRecursive(obj1, obj2): any;
  /**
   * Get configuration per element
   * @param elem
   */
  getConfigElement(elem): any;
  /**
   * Initialise the icons
   */
  init(): any;
  /**
   * Build icons
   * @param currentTag
   * @param i
   */
  createIcons(currentTag, i): any;
  /**
   * Get active icons
   */
  getActiveIcons(): any;
  /**
   * Create anchors
   * @param target
   * @param i
   * @param cls
   * @param url
   */
  createAnchor(target, i, cls, url): any;

  /**
   * Create anchor
   * @param target
   * @param name
   */
  createFontAwesomeElement(target,name) : any;

  /**
   * Handle click event
   * @param e
   */
  handleDataLoaded(e): any;

}