Link
Display a link to the user.
Examples
Basic Example
The following example demonstrate some of the available functionality for display_link
from abstra.forms import display_link
display_link("https://abstra.io", link_text="Abstra Homepage")
Parameters
Name | Description | Type |
---|---|---|
link_url | The url of the link to display to the user | str |
link_text | The text to display on the link. Defaults to "Click here". | str |
same_tab | Whether to open the link in the same tab or not. Defaults to False. | bool |
end_program | Whether the program should end after the widget is shown. Defaults to False. | bool |
full_width | Whether the input should use full screen width. Defaults to False. | bool |
button_text | What text to display on the button when the widget is not part of a Page. Defaults to 'Next'. | str |