【发布时间】:2019-10-22 02:40:48
【问题描述】:
我花了很长时间试图弄清楚如何动态更改 iframe src 中的 URL。 我试过设置变量,然后使用字符串插值没有运气。
关于我如何做到这一点的任何建议。如果可以的话,可能会提供一些示例。
我正在尝试的示例代码;
src="https://www.wheehouse.org/company/PriceMin={{ this.itemMinimum }}&PriceMax={{ this.itemMaximum }}&BedRange={{ this.itemBedRoomType }}-0&BathRange={{ this.itemBathType }}-0"
谢谢。
【问题讨论】:
标签: html angular iframe ionic4