Comparing version 0.0.13 to 0.0.14
@@ -11,3 +11,3 @@ import { ElementRef, EventEmitter, OnInit } from '@angular/core'; | ||
/** Content element */ | ||
innerHTML: string; | ||
innerHTML: string | null; | ||
constructor( | ||
@@ -19,3 +19,3 @@ /** Reference to the option that emitted the event. */ | ||
/** Content element */ | ||
innerHTML?: string); | ||
innerHTML?: string | null); | ||
} | ||
@@ -36,2 +36,3 @@ export declare class OptionComponent<T = any> implements OnInit { | ||
id: string; | ||
textOnly: boolean; | ||
useSelectedIndicator: boolean; | ||
@@ -62,2 +63,3 @@ indicator: 'left' | 'right' | null; | ||
getLabel(): string; | ||
getInnerHTML(forceHTML?: boolean): string | null; | ||
/** | ||
@@ -73,3 +75,3 @@ * `Selects the option while indicating the selection came from the user. Used to | ||
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent<any>, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "tw-option", never, { "class": "class"; "ignore": "ignore"; "activeClass": "activeClass"; "selectedClass": "selectedClass"; "indicatorClass": "indicatorClass"; "value": "value"; "disabled": "disabled"; "id": "id"; "useSelectedIndicator": "useSelectedIndicator"; "indicator": "indicator"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "tw-option", never, { "class": "class"; "ignore": "ignore"; "activeClass": "activeClass"; "selectedClass": "selectedClass"; "indicatorClass": "indicatorClass"; "value": "value"; "disabled": "disabled"; "id": "id"; "textOnly": "textOnly"; "useSelectedIndicator": "useSelectedIndicator"; "indicator": "indicator"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"]>; | ||
} |
@@ -33,3 +33,4 @@ import { AfterContentInit, ChangeDetectorRef, ElementRef, NgZone, OnInit, QueryList } from '@angular/core'; | ||
innerValue: any; | ||
htmlValue: any; | ||
get htmlValue(): string | null; | ||
private _htmlValue; | ||
wasTouched: boolean; | ||
@@ -56,4 +57,3 @@ isOpen: boolean; | ||
selectOption(newValue: any, innerHTML: string | null, touched: boolean, forceUpdate?: boolean): void; | ||
onSelect(source: OptionComponent, isUserInput: boolean, innerHTML: string): void; | ||
updateContent(newInnerHTML: string | null, value: any): void; | ||
onSelect(source: OptionComponent, isUserInput: boolean, innerHTML: string | null): void; | ||
handleKeydown(event: KeyboardEvent): void; | ||
@@ -60,0 +60,0 @@ private _handleClosedKeydown; |
{ | ||
"name": "ng-tw", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^13.1.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
794902
6504