Skip to content

Commit

Permalink
configItemModal
Browse files Browse the repository at this point in the history
  • Loading branch information
Standarduser committed Jan 6, 2025
1 parent d11938c commit 2f30f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ The widgets are designed for VIS 1.x.
Introducing CONFIG-ITEMS (experimental):
These can be used for manupulating styles, which are fixed in VIS, e.g. modal style of dialog windows.
Just put the config item somewhere in your VIS and configure as you want.
* Added hkt-Config-Modal: changes the styles of modal to blur instead of background color and transparency (modal darkens the background when a dialog window is open). For this config-item you need ipadOS 18.x to work with Safari or ioBroker Visu App

Other changes:
* Added HTML-Dialog
* Made "modal" to default setting (modal darkens the background when a dialog window is open)
* Made "modal" to default setting
* Section 'dialog' splitted into 'dialog settings' and 'dialog content'
* Made values of SwitchBool customizable and renamed to Switch
* Repaired notification widget
Expand Down
2 changes: 1 addition & 1 deletion widgets/vis-homekittiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@
</div>
</div>
</div>'
data-vis-attrs="description/custom,vis-homekittiles.infoText,hktConfigItemModal;blur[3]/slider,0,20,1;brightness[0.3]/slider,0,1,0.01;"
data-vis-attrs="description/custom,vis-homekittiles.infoText,hktConfigItemModal;blur[3]/slider,0,20,1;brightness[0.7]/slider,0,1,0.01;"
>
<div class="homekitTiles config-item config-modal vis-widget <%== this.data.attr('class') %>" style="width:170px; height:75px;" id="<%= this.data.attr('wid') %>">
<div class="vis-widget-body" <%= (el) -> vis.binds['vis-homekittiles'].configModal(el, data) %>>
Expand Down

0 comments on commit 2f30f08

Please sign in to comment.