This repository was archived by the owner on Nov 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
projects/core/src/lib/feature-discovery Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44 < div #pOuter class ="feature center pulse " [style.height] ="(innerDiameter + featurePadding) + 'px' "
55 [style.width] ="(innerDiameter + featurePadding) + 'px' ">
66 </ 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 ) "
88 [style.height] ="(innerDiameter + (icon ? featurePadding : 0)) + 'px' "
99 [style.width] ="(innerDiameter + (icon ? featurePadding : 0)) + 'px' ">
1010 < 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 {
8787 . subscribe ( ( ) => {
8888 this . didOpen ( ) ;
8989 } ) ;
90- featureOverlay . fivClick . pipe ( first ( ) ) . subscribe ( ( ) => {
91- this . featureClick ( ) ;
90+ featureOverlay . fivClick . pipe ( first ( ) ) . subscribe ( ev => {
91+ this . featureClick ( ev ) ;
9292 } ) ;
9393 featureOverlay . fivBackdropClick . pipe ( first ( ) ) . subscribe ( ( ) => {
9494 this . hide ( ) ;
@@ -113,9 +113,9 @@ export class FivFeature {
113113 this . isOpen = true ;
114114 }
115115
116- private featureClick ( ) {
116+ private featureClick ( ev ) {
117117 if ( this . overlayRef ) {
118- this . fivFeatureClick . emit ( ) ;
118+ this . fivFeatureClick . emit ( ev ) ;
119119 this . fivWillClose . emit ( ) ;
120120 this . overlayRef . instance . featureClick ( ) ;
121121 this . overlayRef . instance . fivClose . pipe ( first ( ) ) . subscribe ( ( ) => {
You can’t perform that action at this time.
0 commit comments