Giter Site home page Giter Site logo

Comments (12)

MurhafSousli avatar MurhafSousli commented on May 29, 2024

Hi @cenjennifer, it seems possible here, however it might be not possible to determine if your user has actually shared it or cancelled.
I will add this as an output when I get the time, and it will be used like this

<share-buttons (windowClosed)="someCallbackFunction"></share-buttons>

This is nice to have, thank you

from ngx-sharebuttons.

cenjennifer avatar cenjennifer commented on May 29, 2024

Thank you @MurhafSousli

from ngx-sharebuttons.

MurhafSousli avatar MurhafSousli commented on May 29, 2024

@cenjennifer It's merged now

<share-buttons (popUpClosed)="someCallbackFun($event)"></share-buttons>
someCallbackFun(event: ShareProvider){
}

from ngx-sharebuttons.

mdd1704 avatar mdd1704 commented on May 29, 2024

Is this still working in Angular 5?

from ngx-sharebuttons.

MurhafSousli avatar MurhafSousli commented on May 29, 2024

@mdd1704 Yes but the output has changed to (closed)

from ngx-sharebuttons.

mdd1704 avatar mdd1704 commented on May 29, 2024

@MurhafSousli awesome! Thanks for fast response.

from ngx-sharebuttons.

nebiyuelias1 avatar nebiyuelias1 commented on May 29, 2024

The closed event isn't doing anything in my case.

from ngx-sharebuttons.

MurhafSousli avatar MurhafSousli commented on May 29, 2024

it is now called (closed)

from ngx-sharebuttons.

nebiyuelias1 avatar nebiyuelias1 commented on May 29, 2024

Is there any way to know if the share was successful? If someone closes the share dialog without actually sharing the closed event is fired.

from ngx-sharebuttons.

MurhafSousli avatar MurhafSousli commented on May 29, 2024

@nebiyuelias1 No, that is not possible. there is no event that can tell if the user has actually shared or not

from ngx-sharebuttons.

nebiyuelias1 avatar nebiyuelias1 commented on May 29, 2024

Ok, What if I want the share count?

from ngx-sharebuttons.

vipulbuoyancy avatar vipulbuoyancy commented on May 29, 2024

(closed) is not working for me. is anything changed?

from ngx-sharebuttons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.