How do I create a list box for Windowsform applications on SVG?

Asked 2 years ago, Updated 2 years ago, 126 views

There is a page that displays large svg images on the website you are currently creating.
(Inline svg embedded in html.)
Is it possible to create objects (e.g., list boxes, combo boxes, etc.) for Windowsform applications in the svg tag of that page?
If you find it difficult to create an object with svg, you can add it to the svg tag.

I tried to embed the html element object in the svg tag using the foreignObject tag, but it didn't work because the behavior was different for each browser type and the embedded html element itself didn't show up.

Note: We would like to insert only the svg tag into the body tag and make it function as a descendant element of the svg tag.

javascript html5 svg

2022-09-30 17:46

1 Answers

Regarding the old question, I will answer it for those who arrived with the same question.
Check the foreignObject.


2022-09-30 17:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.