Today we have released the latest edition of our Form Lib. Our library offers us the possibility to link forms with data. In addition, we have programmed here various controls that are not available in the standard.
Only the highlights are described here. The full functionality can be found in the documentation.
This release builds on Monster 1.29 and contains minor improvements.
New Reload control
This control is a small helper that reloads content from an external url and displays it inside once it has been loaded.
// create control
const reload = document.createElement('monster-reload');
reload.setAttribute('data-monster-url','https://example.com/')
// loader content
const defaultContent = document.createElement('div');
defaultContent.innerHTML='loading...'
reload.appendChild(defaultContent);
// append
document.getElementById('container').appendChild(reload);
or
<monster-reload data-monster-url="https://example.com">
<div slot="default">loding...</div>
</monster-tabs>
Tabs control
Tab control now fire "Content fetched" event.
hope you enjoy it!
Top comments (0)