New Component: Social Media (PFE 6.2)

Community Driven Extensions Project
Post Reply
Melloware
Posts: 1954
Joined: 22 Apr 2013, 15:48

31 Oct 2017, 19:11

Available in PFE 6.2 Based on jsSocials: http://js-socials.com/demos/

Component has 4 themes and I tried to implement most features available in their demos.

Code: Select all

<pe:social id="socialMedia"  
        shares="twitter,facebook,pinterest,googleplus,whatsapp,linkedin,email"   
        url="https://www.primefaces.org/"   
        text="PrimeFaces"   
        theme="#{socialMediaController.theme}"  
        showLabel="#{socialMediaController.showLabel}"  
        showCount="#{socialMediaController.showCount}"  
        style="font-size: #{socialMediaController.fontSize}px"  
        emailTo="primefaces@primefaces.org"  
        twitterUsername="primefaces"  
        twitterHashtags="jsf,components,ui"  
        onclick="console.log('share ' +this.share + ' url ' + this.url + ' at ' + e.timeStamp);"/> 
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests