The API UI Class. An instance is available via the global API.v1.ui variable.

Methods

  • Hide the main navigation

    Returns void

    API.v1.ui.hideNavigation();
    
  • Navigate to a case, optionally to a specific view case

    Parameters

    • caseId: string
    • Optionalview: string
    • doNotRedirect: boolean = false

    Returns void

    API.v1.ui.navigateToCase('1:142:26');
    API.v1.ui.navigateToCase('1:4584:27', '1:4581:1322');
  • Navigate to a page

    Parameters

    • alias: string
    • Optionalview: string

    Returns void

    API.v1.ui.navigateToPage('homepage');
    
  • Resize the iFrame to fit the content

    Returns void

    //== Change something in the DOM
    $('.somediv').height(542);
    //== Trigger iFrame to resize to new size
    API.v1.ui.resizeToFit();
  • Show the main navigation

    Returns void

    API.v1.ui.showNavigation();