Options
Menu

Module ControllerHelpers

Index

Functions

bindModelToSearchParam

  • bindModelToSearchParam($scope: any, $location: any, modelName: string, paramName: string, initialValue?: any, to?: Function, from?: Function)
  • Binds a $location.search() property to a model on a scope; so that its initialised correctly on startup and its then watched so as the model changes, the $location.search() is updated to reflect its new value

    method

    bindModelToSearchParam

    for

    Core

    static

    Parameters

    • $scope: any
    • $location: any
    • modelName: string
    • paramName: string
    • initialValue?: any optional
    • to?: Function optional
    • from?: Function optional

createClassSelector

  • createClassSelector(config: any): (selection: any, model: any) => string

createValueClassSelector

  • createValueClassSelector(config: any): (model: any) => string

reloadWhenParametersChange

  • reloadWhenParametersChange($route: any, $scope: any, $location: any, parameters?: Array<string>["nid"])
  • For controllers where reloading is disabled via "reloadOnSearch: false" on the registration; lets pick which query parameters need to change to force the reload. We default to the JMX selection parameter 'nid'

    method

    reloadWhenParametersChange

    for

    Core

    static

    Parameters

    • $route: any
    • $scope: any
    • $location: any
    • parameters?: Array<string> optional

Variables

log

log: Logging.Logger

Generated using TypeDoc