Allows to create a Link using predefined Html syntax.
Represents an icon from Pyxis Iconset.
Creates a simple link. Used when the link itself is in a paragraph.
--
import Prima.Pyxis.Link as Link
...
myLink : Link.Config
myLink =
Link.simple "Visit site" "https://www.prima.it"Creates a standalone link. Used when the link itself stands alone.
--
import Prima.Pyxis.Link as Link
...
myLink : Link.Config
myLink =
Link.standalone "Visit site" "https://www.prima.it"Creates a simple link which holds an icon. Used when the link itself stands alone.
--
import Prima.Pyxis.Link as Link
...
myLink : Link.Config
myLink =
Link.withIcon "Visit site" "https://www.prima.it" Link.iconEditCreates a chevron-down icon.
Creates a download icon.
Represents the configuration of a
Link.