@cedx/base 0.21.0 → 0.21.1
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/ReadMe.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Cédric Belin's Base
|
|
2
|
-
   
|
|
3
3
|
|
|
4
4
|
Base library by [Cédric Belin](https://cedric-belin.fr), full stack developer,
|
|
5
5
|
implemented in [C#](https://learn.microsoft.com/en-us/dotnet/csharp) and [TypeScript](https://www.typescriptlang.org).
|
|
@@ -47,7 +47,7 @@ export class DialogBox extends HTMLElement {
|
|
|
47
47
|
* The child content displayed in the body.
|
|
48
48
|
*/
|
|
49
49
|
set body(value) {
|
|
50
|
-
this.querySelector(".modal-body
|
|
50
|
+
this.querySelector(".modal-body").replaceChildren(...value.childNodes);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* The title displayed in the header.
|
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ export class DialogBox extends HTMLElement {
|
|
|
77
77
|
* The child content displayed in the body.
|
|
78
78
|
*/
|
|
79
79
|
set body(value: DocumentFragment) { // eslint-disable-line accessor-pairs
|
|
80
|
-
this.querySelector(".modal-body
|
|
80
|
+
this.querySelector(".modal-body")!.replaceChildren(...value.childNodes);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|