@cloukit/common
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -8,2 +8,6 @@ import { Directive, ElementRef, EventEmitter, HostListener, Input, NgModule, Output } from '@angular/core'; | ||
*/ | ||
/** | ||
* Has focus directive to use on any input field. | ||
* You can focus e.g. an textfield from the outside. | ||
*/ | ||
class CloukitHasFocusDirective { | ||
@@ -17,2 +21,4 @@ /** | ||
/** | ||
* \@overrides AfterViewInit | ||
* @hidden | ||
* @return {?} | ||
@@ -26,2 +32,4 @@ */ | ||
/** | ||
* \@overrides OnChanges | ||
* @hidden | ||
* @param {?} changes | ||
@@ -56,2 +64,5 @@ * @return {?} | ||
*/ | ||
/** | ||
* Click outside directive with EventEmitter. | ||
*/ | ||
class CloukitClickOutsideDirective { | ||
@@ -63,2 +74,6 @@ /** | ||
this.el = el; | ||
/** | ||
* When directive is used on a textfield the EventEmitter | ||
* emits an event each time the outside of the textfield is clicked. | ||
*/ | ||
this.cloukitClickOutside = new EventEmitter(); | ||
@@ -65,0 +80,0 @@ } |
@@ -8,2 +8,6 @@ import { Directive, ElementRef, EventEmitter, HostListener, Input, NgModule, Output } from '@angular/core'; | ||
*/ | ||
/** | ||
* Has focus directive to use on any input field. | ||
* You can focus e.g. an textfield from the outside. | ||
*/ | ||
var CloukitHasFocusDirective = (function () { | ||
@@ -17,2 +21,4 @@ /** | ||
/** | ||
* \@overrides AfterViewInit | ||
* @hidden | ||
* @return {?} | ||
@@ -26,2 +32,4 @@ */ | ||
/** | ||
* \@overrides OnChanges | ||
* @hidden | ||
* @param {?} changes | ||
@@ -57,2 +65,5 @@ * @return {?} | ||
*/ | ||
/** | ||
* Click outside directive with EventEmitter. | ||
*/ | ||
var CloukitClickOutsideDirective = (function () { | ||
@@ -64,2 +75,6 @@ /** | ||
this.el = el; | ||
/** | ||
* When directive is used on a textfield the EventEmitter | ||
* emits an event each time the outside of the textfield is clicked. | ||
*/ | ||
this.cloukitClickOutside = new EventEmitter(); | ||
@@ -66,0 +81,0 @@ } |
import { ElementRef, EventEmitter } from '@angular/core'; | ||
/** | ||
* Click outside directive with EventEmitter. | ||
*/ | ||
export declare class CloukitClickOutsideDirective { | ||
private el; | ||
/** | ||
* When directive is used on a textfield the EventEmitter | ||
* emits an event each time the outside of the textfield is clicked. | ||
*/ | ||
cloukitClickOutside: EventEmitter<MouseEvent>; | ||
@@ -5,0 +12,0 @@ constructor(el: ElementRef); |
import { AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; | ||
/** | ||
* Has focus directive to use on any input field. | ||
* You can focus e.g. an textfield from the outside. | ||
*/ | ||
export declare class CloukitHasFocusDirective implements OnChanges, AfterViewInit { | ||
private el; | ||
/** | ||
* When set to true and used on e.g. a textfield, | ||
* the field will have focus. When set to false the textfield | ||
* will have no focus. | ||
*/ | ||
cloukitHasFocus: boolean; | ||
constructor(el: ElementRef); | ||
/** | ||
* @overrides AfterViewInit | ||
* @hidden | ||
*/ | ||
ngAfterViewInit(): void; | ||
/** | ||
* @overrides OnChanges | ||
* @hidden | ||
*/ | ||
ngOnChanges(changes: SimpleChanges): void; | ||
} |
{ | ||
"name": "@cloukit/common", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Common directives that are used by higher level components such as hasFocus and similar.", | ||
@@ -5,0 +5,0 @@ "private": false, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11574
10
303