signUrl

context.signUrl(url, args) - Accepts a URL (relative or absolute) and prepares this URL (by adding necessary values to the URL hash) to initialize it when opening an iframe.

Arguments
argumentTypeDescription
urlrequiredstringString to prepare
argsobjectThis object will be passed to the iframe, and the values of this object can be obtained from the iframe using the function "iframe.arg(key)"

Return value - String

Example :

 'card_body_section': (bodySectionContext) => {
  return [{
    title: '📝 Timer logs',
    content: {
      type: 'iframe',
      url: bodySectionContext.signUrl('./timeLogs.html'),
      height: 200,
    }
  }]
},
logo
Kaiten
If you have any questions or need help with integration feel free to write us at support@kaiten.io