[Silk UI Web] Silk UI Modal intrigration

[Silk UI Web] Silk UI Modal intrigration

  
Forge Component
(51)
Published on 22 Aug by OutSystems R&D
51 votes
Published on 22 Aug by OutSystems R&D

Hi Everyone, i want to integrate Silk Ui modal to a link but i am not able to do that actually i am new in this, can you please help me out .


how to do that?



thanks 

pankaj pant

Solution

Pankaj Pant wrote:

Hi Everyone, i want to integrate Silk Ui modal to a link but i am not able to do that actually i am new in this, can you please help me out .


how to do that?



thanks 

pankaj pant

Hi Pankaj!


If you hover the Modal WB inside the Service Studio, you will get the following instructions:


So you just need to create a new action in your link, and call the toogleModal action.

Just make sure you have referenced the toggleModal action from the SilkUI Framework.


Cheers!

Solution

hey Alexandre Santos thanks for your valuable reply.  can we change the position of the modal right now i am looking for the centralized modal is possible to have such modal.

Hi Pankaj!


I'm not sure if I really understood your question, but if want to center the modal on your page, you can probably achieve that with some CSS.


https://medium.com/outsystems-experts/css-vertical-align-for-everyone-dummies-included-44af86f4ba40#ac32

In this article, you can see some live examples of how to center a div on a page, you can use that example code to center the modal if that's what you want.


Let me know I have helped.