Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SettingsCtrl

Controller for elementary settings (name of YouTrack instance, base URL, etc.).

Hierarchy

  • SettingsCtrl

Index

Constructors

constructor

Properties

isInCloudUrl

isInCloudUrl: function

Type declaration

    • (): boolean
    • Returns boolean

normalizedBaseUrl

normalizedBaseUrl: function

Type declaration

    • (): string
    • Returns string

normalizedHubUrl

normalizedHubUrl: function

Type declaration

    • (): string
    • Returns string

Methods

hrefRelativeToBaseUrl

  • hrefRelativeToBaseUrl(relativePath: string): function

hubRelativeToBaseUrlAndServiceId

  • hubRelativeToBaseUrlAndServiceId(relativePath: function): function
  • Parameters

    • relativePath: function
        • (serviceId: string): string
        • Parameters

          • serviceId: string

          Returns string

    Returns function

      • (element: HTMLAnchorElement): void
      • Parameters

        • element: HTMLAnchorElement

        Returns void

Static currentOrigin

  • currentOrigin(): URL

Static currentUri

  • currentUri(): URL

Generated using TypeDoc