I embedded Typeform into my angular project, but can't find a way to change it's size.
home-page.component.ts
import {createPopup, createSlider, createWidget} from "@typeform/embed";
openTypeform() {
createWidget("my-typeform-id", { container: document.querySelector("#formId")!});
}
home-page.component.html
<div class="home-page">
<p><button (click)="openTypeform()">click to open popup</button></p>
<div id="formId" style="width: 100%; height: 500px; border: 2px #ccc solid;"></div>
The div I am embedding also has size defined, but at the end it looks like this:
