Closed gauraveluminous closed 1 year ago
Yes, you can!
import { SharerMethod } from 'ngx-sharebuttons';
import { ShareButtonsModule } from 'ngx-sharebuttons/buttons';
ShareButtonsModule.withConfig({
sharerMethod: SharerMethod.Window
}),
Here is a demo https://stackblitz.com/edit/ngx-sharebuttons-pg5mns?file=src%2Fapp%2Fapp.module.ts
Thanks for the quick reply. I have checked and implemented and it's working perfectly.
From: Murhaf Sousli @.> Sent: Friday, May 12, 2023 4:21 AM To: MurhafSousli/ngx-sharebuttons @.> Cc: Gaurav Chauhan @.>; Author @.> Subject: Re: [MurhafSousli/ngx-sharebuttons] can we open shared details in pop up instead of new tab ? (Issue #642)
Yes, you can!
import { SharerMethod } from 'ngx-sharebuttons'; import { ShareButtonsModule } from 'ngx-sharebuttons/buttons';
ShareButtonsModule.withConfig({ sharerMethod: SharerMethod.Window }),
Here is a demo https://stackblitz.com/edit/ngx-sharebuttons-pg5mns?file=src%2Fapp%2Fapp.module.ts
— Reply to this email directly, view it on GitHubhttps://github.com/MurhafSousli/ngx-sharebuttons/issues/642#issuecomment-1544791530, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5WJZF7SDOMJX6ENQYFN2RDXFVUQJANCNFSM6AAAAAAX6OMNBI. You are receiving this because you authored the thread.Message ID: @.***>
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/ngx-sharebuttons
Steps to reproduce:
Expected Behavior
I am expecting that it should open in a pop-up or in a small-size tab instead of a full new tab.
Actual Behavior
Currently, its opens in full tab when clicking on any button for sharing purposes.
Environment