UNPKG
@inaccess-fang/ui-components
Version:
latest (1.1.0)
1.1.0
1.0.5
1.0.2
1.0.1
1.0.0
0.0.1
The Inaccess UI Components Library for the Front-end projects
@inaccess-fang/ui-components
/
lib
/
directives
/
click-outside
/
click-outside-element.directive.d.ts
8 lines
(7 loc)
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
ElementRef
,
EventEmitter
}
from
'@angular/core'
;
export
declare
class
ClickOutsideElementDirective
{
private
_elementRef;
clickOutsideElement
:
EventEmitter
<
MouseEvent
>;
constructor
(
_elementRef
:
ElementRef
);
onClick
(
event
:
MouseEvent
,
targetElement
:
HTMLElement
):
void
; }