update demo
This commit is contained in:
parent
bc750b1554
commit
51c61e33b4
15 changed files with 34 additions and 22 deletions
1
source/demo/panels/ha-panel-iframe.html
Normal file
1
source/demo/panels/ha-panel-iframe.html
Normal file
|
@ -0,0 +1 @@
|
|||
<html><head><meta charset="UTF-8"></head><body><dom-module id="ha-panel-iframe"><template><style include="ha-style">iframe{border:0;width:100%;height:calc(100% - 64px)}</style><app-toolbar><ha-menu-button narrow="[[narrow]]" show-menu="[[showMenu]]"></ha-menu-button><div main-title="">[[panel.title]]</div></app-toolbar><iframe src="[[panel.config.url]]" sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts"></iframe></template></dom-module><script>Polymer({is:"ha-panel-iframe",properties:{panel:{type:Object},narrow:{type:Boolean},showMenu:{type:Boolean}}})</script></body></html>
|
Loading…
Add table
Add a link
Reference in a new issue