This repository was archived by the owner on Nov 30, 2022. It is now read-only.
Commit 2707ab6 1 parent 49c0e3e commit 2707ab6 Copy full SHA for 2707ab6
File tree 2 files changed +5
-5
lines changed
projects/core/src/lib/feature-discovery
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
< div #pOuter class ="feature center pulse " [style.height] ="(innerDiameter + featurePadding) + 'px' "
5
5
[style.width] ="(innerDiameter + featurePadding) + 'px' ">
6
6
</ div >
7
- < div #pInner class ="feature center inner ion-activatable " (click) ="fivClick.emit() "
7
+ < div #pInner class ="feature center inner ion-activatable " (click) ="fivClick.emit($event ) "
8
8
[style.height] ="(innerDiameter + (icon ? featurePadding : 0)) + 'px' "
9
9
[style.width] ="(innerDiameter + (icon ? featurePadding : 0)) + 'px' ">
10
10
< fiv-icon class ="center " *ngIf ="icon " [name] ="icon "> </ fiv-icon >
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ export class FivFeature {
87
87
. subscribe ( ( ) => {
88
88
this . didOpen ( ) ;
89
89
} ) ;
90
- featureOverlay . fivClick . pipe ( first ( ) ) . subscribe ( ( ) => {
91
- this . featureClick ( ) ;
90
+ featureOverlay . fivClick . pipe ( first ( ) ) . subscribe ( ev => {
91
+ this . featureClick ( ev ) ;
92
92
} ) ;
93
93
featureOverlay . fivBackdropClick . pipe ( first ( ) ) . subscribe ( ( ) => {
94
94
this . hide ( ) ;
@@ -113,9 +113,9 @@ export class FivFeature {
113
113
this . isOpen = true ;
114
114
}
115
115
116
- private featureClick ( ) {
116
+ private featureClick ( ev ) {
117
117
if ( this . overlayRef ) {
118
- this . fivFeatureClick . emit ( ) ;
118
+ this . fivFeatureClick . emit ( ev ) ;
119
119
this . fivWillClose . emit ( ) ;
120
120
this . overlayRef . instance . featureClick ( ) ;
121
121
this . overlayRef . instance . fivClose . pipe ( first ( ) ) . subscribe ( ( ) => {
You can’t perform that action at this time.
0 commit comments