Hello Radzen team, could you so kind to explain how insert in page a floating button like your chat button in
Radzen site?
Is there a tutorial for this in documentation?
Thanks
Hello Radzen team, could you so kind to explain how insert in page a floating button like your chat button in
Radzen site?
Is there a tutorial for this in documentation?
Thanks
Do you want the button to appear in every page? If yes you can edit the Main layout and drag and drop a Button component in the Footer (which is already fixed at the bottom).
If you want the button to appear only in specific page do the following:
Drag and drop a button in the page
Set its Position property (under Style) to fixed. This makes the button float via the position: fixed CSS attribute.
Set the Bottom and Right properties to specify the exact position you want the button to appear.
meta\pages\<page-name>json
):
{
"icon": "",
"name": "button1",
"style": {
"bottom": "100px",
"position": "fixed",
"zIndex": 5000,
"right": "100px"
},
"text": "Floating button",
"type": "button"
}
Hi Korchev, thanks for your suggestion. I confirm you that I have insert the floating button with success, but
I have these questions:
the setting of zIndex is deleted if I modify the page or layout by Radzen. How I can preserve it when file
json of the page is rewrite of the Radzen?
How I can obtain the same aspect of your chat button in your site, that is shadow and icon?
How I can adjust the icon dimension of the button? If I change button size, the icon not change its
size.
Could you so kind to do a example how open a slide panel when floating button is pressed, similar
your chat panel in your site?
Thanks a lot.