Don't know angular but I wonder if this:
Code:
<div class="click-to-filter-outer" (click)="clickToFilter_Clicked(e)">
The typescript looks like this:
clickToFilter_Clicked(e) {
$('.filter-panel').css('max-height', '500px');
this.filterPanelState = this.filterPanelStates.EXPANDED;
e.stopPropagation();
}
works in any browser?
I'd try (again, don't know angular, but this seems better to me):
Code:
<div class="click-to-filter-outer" (click)="clickToFilter_Clicked">
The typescript looks like this:
clickToFilter_Clicked(e) {
$('.filter-panel').css('max-height', '500px');
this.filterPanelState = this.filterPanelStates.EXPANDED;
e.stopPropagation();
}
or maybe (less hopeful about this one):
Code:
<div class="click-to-filter-outer" (click)="clickToFilter_Clicked(event)">
The typescript looks like this:
clickToFilter_Clicked(e) {
$('.filter-panel').css('max-height', '500px');
this.filterPanelState = this.filterPanelStates.EXPANDED;
e.stopPropagation();
}
Bookmarks