@ni/nimble-angular 18.1.2 → 18.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/directives/anchor/nimble-anchor.directive.d.ts +3 -1
- package/esm2020/directives/anchor/nimble-anchor.directive.mjs +13 -2
- package/fesm2015/ni-nimble-angular.mjs +12 -1
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +12 -1
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -737,9 +737,17 @@ class NimbleAnchorDirective extends NimbleAnchorBaseDirective {
|
|
|
737
737
|
set underlineHidden(value) {
|
|
738
738
|
this.renderer.setProperty(this.elementRef.nativeElement, 'underlineHidden', toBooleanProperty(value));
|
|
739
739
|
}
|
|
740
|
+
get contentEditable() {
|
|
741
|
+
return this.elementRef.nativeElement.contentEditable;
|
|
742
|
+
}
|
|
743
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
744
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
745
|
+
set contentEditable(value) {
|
|
746
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'contentEditable', value);
|
|
747
|
+
}
|
|
740
748
|
}
|
|
741
749
|
NimbleAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleAnchorDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
742
|
-
NimbleAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleAnchorDirective, selector: "nimble-anchor", inputs: { appearance: "appearance", underlineHidden: ["underline-hidden", "underlineHidden"] }, usesInheritance: true, ngImport: i0 });
|
|
750
|
+
NimbleAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleAnchorDirective, selector: "nimble-anchor", inputs: { appearance: "appearance", underlineHidden: ["underline-hidden", "underlineHidden"], contentEditable: ["contenteditable", "contentEditable"] }, usesInheritance: true, ngImport: i0 });
|
|
743
751
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleAnchorDirective, decorators: [{
|
|
744
752
|
type: Directive,
|
|
745
753
|
args: [{
|
|
@@ -750,6 +758,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
750
758
|
}], underlineHidden: [{
|
|
751
759
|
type: Input,
|
|
752
760
|
args: ['underline-hidden']
|
|
761
|
+
}], contentEditable: [{
|
|
762
|
+
type: Input,
|
|
763
|
+
args: ['contenteditable']
|
|
753
764
|
}] } });
|
|
754
765
|
|
|
755
766
|
class NimbleAnchorModule {
|