SVGForeignObjectElement
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Giao diện SVGForeignObjectElement cung cấp quyền truy cập vào các thuộc tính của phần tử <foreignObject>, cũng như các phương thức để thao tác chúng.
Thuộc tính phiên bản
Giao diện này cũng kế thừa thuộc tính từ đối tượng cha, SVGGraphicsElement.
SVGForeignObjectElement.xRead only-
Một
SVGAnimatedLengthtương ứng với thuộc tínhxcủa phần tử<foreignObject>đã cho. SVGForeignObjectElement.yRead only-
Một
SVGAnimatedLengthtương ứng với thuộc tínhxcủa phần tử<foreignObject>đã cho. SVGForeignObjectElement.widthRead only-
Một
SVGAnimatedLengthtương ứng với thuộc tínhwidthcủa phần tử<foreignObject>đã cho. SVGForeignObjectElement.heightRead only-
Một
SVGAnimatedLengthtương ứng với thuộc tínhheightcủa phần tử<foreignObject>đã cho.
Phương thức phiên bản
Giao diện này không có phương thức riêng nhưng kế thừa các phương thức từ đối tượng cha, SVGGraphicsElement.
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGForeignObjectElement> |