You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
I import ClickOutsideModule in the following module:
@NgModule({
imports: [ClickOutsideModule],
declarations: [TopBarComponent, MyComponent]
})
export class TopBarModule { }
MyComponent is as follows:
@Component({
moduleId: module.id,
selector: 'my-component',
styleUrls: ['my-component.css'],
templateUrl: 'my-component.component.html'
})
export class MyComponent {
public onClickedOutside(event: Event) {
console.log('Clicked outside:', event);
}
}
with the template being:
< ul (clickOutside)="onClickedOutside($event)">Hello</ul >
Nothing is printed on the console when I click outside the unsorted list.
The text was updated successfully, but these errors were encountered: