<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HTML API on</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/</link><description>Recent content in HTML API on</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 16 Nov 2020 13:59:39 +0100</lastBuildDate><atom:link href="https://platform-docs.slingr.io/dev-reference/user-interface/html-api/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/overview/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/overview/</guid><description>The HTML API allows users to dynamically render components within the application by writing custom HTML tags. Each custom tag corresponds to a specific component.. These components provide a wide range of functionality, from displaying icons to more complex UI elements.
Supported components # The platform currently supports these components:
Slingr action Slingr file Slingr icon Slingr label Slingr link Slingr tooltip Slingr interaction</description></item><item><title>Slingr label</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-label/</link><pubDate>Wed, 06 Nov 2024 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-label/</guid><description>The &amp;lt;slingr-label&amp;gt; custom HTML tag allows developers to easily insert a label element into their web pages.
Syntax # &amp;lt;slingr-label label-style=&amp;quot;${labelStyle}&amp;quot; text=&amp;quot;${content}&amp;quot;&amp;gt;&amp;lt;/slingr-label&amp;gt; Attributes # text: (Required) This is the text that we will be displaying inside the label.
label-style: (Optional) Specifies the style of the label. This attribute allows customization of the icon&amp;rsquo;s appearance. Possible values include:
default primary secondary success danger warning info Examples # &amp;lt;slingr-label label-style=&amp;quot;primary&amp;quot; text=&amp;quot;Slingr&amp;quot;&amp;gt;&amp;lt;/slingr-label&amp;gt; &amp;lt;slingr-label label-style=&amp;quot;danger&amp;quot; text=&amp;quot;Stopped&amp;quot;&amp;gt;&amp;lt;/slingr-label&amp;gt; &amp;lt;slingr-label label-style=&amp;quot;warning&amp;quot; text=&amp;quot;Errors found&amp;quot;&amp;gt;&amp;lt;/slingr-label&amp;gt;</description></item><item><title>Slingr action</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-action/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-action/</guid><description>The &amp;lt;slingr-action&amp;gt; custom HTML tag allows developers to render a button or link that triggers an action within the application. This tag is highly versatile, supporting actions on single records, multiple records, or even global entity actions.
One Record # Render the action associated with a single record.
Syntax # &amp;lt;slingr-action entity=&amp;quot;${entity}&amp;quot; action=&amp;quot;${entityAction}&amp;quot; record-id=&amp;quot;${recordId}&amp;quot; label=&amp;quot;${label}&amp;quot; icon=&amp;quot;${icon}&amp;quot; display-type=&amp;quot;${displayType}&amp;quot; button-style=&amp;quot;${buttonStyle}&amp;quot; defaultParams=&amp;quot;${defaultActionParams}&amp;quot;&amp;gt; &amp;lt;/slingr-action&amp;gt; Attributes # entity: (Required) Specifies the entity name or ID. action: (Required) Specifies the action name or ID.</description></item><item><title>Slingr file</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-file/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-file/</guid><description>The &amp;lt;slingr-file&amp;gt; custom HTML tag is used to download or open a file. The content within this tag will be rendered as a hyperlink and styled similarly to the file fields.
Syntax # &amp;lt;slingr-file entity=&amp;quot;${entity}&amp;quot; record-id=&amp;quot;${recordId}&amp;quot; file-id=&amp;quot;${fileId}&amp;quot; file-action=&amp;quot;${fileAction}&amp;quot;&amp;gt; ${content} &amp;lt;/slingr-file&amp;gt; Attributes # entity: (Required) Specifies the name of the entity that the record-id belongs to.
record-id: (Required) The unique identifier for the record associated with the file.
file-id: (Required) The unique identifier for the file.</description></item><item><title>Slingr icon</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-icon/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-icon/</guid><description>The &amp;lt;slingr-icon&amp;gt; custom HTML tag allows developers to easily insert icon elements into their web pages.
Syntax # &amp;lt;slingr-icon name=&amp;quot;${name}&amp;quot; icon-style=&amp;quot;${iconStyle}&amp;quot;&amp;gt;&amp;lt;/slingr-icon&amp;gt; Attributes # name: (Required) Specifies the type of icon to display. This attribute determines which icon is rendered. For a list of possible icon values, refer to the icon reference guide.
icon-style: (Optional) Specifies the style of the icon. This attribute allows customization of the icon&amp;rsquo;s appearance. Possible values include:</description></item><item><title>Slingr interaction</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-interaction/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-interaction/</guid><description>The &amp;lt;slingr-interaction&amp;gt; custom HTML tag allows developers to render a button or link that triggers an interaction within the current view.
Syntax # &amp;lt;slingr-interaction interaction=&amp;quot;${interaction}&amp;quot; label=&amp;quot;${label}&amp;quot; icon=&amp;quot;${icon}&amp;quot; display-type=&amp;quot;${displayType}&amp;quot; button-style=&amp;quot;${buttonStyle}&amp;quot; default-params=&amp;quot;${defaultInteractionParams}&amp;quot; auto-execute&amp;gt; &amp;lt;/slingr-interaction&amp;gt; Attributes # interaction: (Required) Defines the interaction&amp;rsquo;s name or ID to be triggered. label: (Required) The text label displayed on the interaction button or link. icon: (Optional) An icon displayed alongside the label. display-type: (Optional) Determines whether the interaction is shown as a button or a link.</description></item><item><title>Slingr link</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-link/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-link/</guid><description>The &amp;lt;slingr-link&amp;gt; custom HTML tag enables users to navigate to different views within the application, open views in new tabs, or display views in modal dialogs.
Syntax # &amp;lt;slingr-link view=&amp;quot;${view}&amp;quot; record-id=&amp;quot;${recordId}&amp;quot; target=&amp;quot;${target}&amp;quot; params='${params}'&amp;gt; ${content} &amp;lt;/slingr-link&amp;gt; Attributes # view: (Required) The ID or name of the view to navigate to. You can also provide the ID of the collection and then configure the view-type to determine which view to render.
view-type: (Optional) Specifies the type of view to redirect to.</description></item><item><title>Slingr tooltip</title><link>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-tooltip/</link><pubDate>Mon, 16 Nov 2020 13:59:39 +0100</pubDate><guid>https://platform-docs.slingr.io/dev-reference/user-interface/html-api/slingr-tooltip/</guid><description>The &amp;lt;slingr-tooltip&amp;gt; custom HTML element enables developers to add tooltips over the content of their web applications. This tag allows for the display of additional information when a user hovers over a specific area, enhancing the user experience by providing contextual details.
Syntax # &amp;lt;slingr-tooltip message=&amp;quot;${message}&amp;quot; position=&amp;quot;${position}&amp;quot;&amp;gt; ${content} &amp;lt;/slingr-tooltip&amp;gt; Attributes # message: (Required) Specifies the text content of the tooltip. This can include plain text or HTML for more complex content.</description></item></channel></rss>