11import type { ElementCssStyleData } from "@coli.codes/css" ;
2- import type { Color , DimensionLength , IWHStyleWidget } from "@reflect-ui/core" ;
2+ import type { DimensionLength , IWHStyleWidget } from "@reflect-ui/core" ;
33import { WidgetKey } from "../../widget-key" ;
44import type { StylableJSXElementConfig } from "../../widget-core" ;
55import { Container } from "../container" ;
@@ -38,8 +38,8 @@ export interface IIframeProps {
3838
3939 readonly src ?: string ;
4040 readonly srcdoc ?: string ;
41- readonly fwidth : DimensionLength ;
42- readonly fheight : DimensionLength ;
41+ readonly fwidth ? : DimensionLength ;
42+ readonly fheight ? : DimensionLength ;
4343
4444 readonly allow ?: string ;
4545 readonly loading ?: "eager" | "lazy" ;
@@ -54,8 +54,8 @@ export class HtmlIframe extends Container implements IIframeProps {
5454
5555 readonly src ?: string ;
5656 readonly srcdoc ?: string ;
57- readonly fwidth : DimensionLength ;
58- readonly fheight : DimensionLength ;
57+ readonly fwidth ? : DimensionLength ;
58+ readonly fheight ? : DimensionLength ;
5959
6060 readonly allow ?: string ;
6161 readonly loading ?: "eager" | "lazy" ;
@@ -69,8 +69,8 @@ export class HtmlIframe extends Container implements IIframeProps {
6969 title,
7070 src,
7171 srcdoc,
72- fwidth : width ,
73- fheight : height ,
72+ fwidth,
73+ fheight,
7474 allow,
7575 loading,
7676 name,
@@ -84,8 +84,8 @@ export class HtmlIframe extends Container implements IIframeProps {
8484 this . title = title ;
8585 this . src = src ;
8686 this . srcdoc = srcdoc ;
87- this . fwidth = width ;
88- this . fheight = height ;
87+ this . fwidth = fwidth ;
88+ this . fheight = fheight ;
8989 this . allow = allow ;
9090 this . loading = loading ;
9191 this . name = name ;
0 commit comments