AngularTS
    Preparing search index...

    Interface UrlParts

    Represents the individual components of a URL.

    interface UrlParts {
        hash: string;
        path: string;
        search: Record<
            string,
            string
            | number
            | boolean
            | (string | number | boolean)[],
        >;
    }
    Index

    Properties

    Properties

    hash: string

    The fragment identifier (everything after #, not including the # itself).

    path: string

    The URL path (e.g. /dashboard, /users/123).

    search: Record<
        string,
        string
        | number
        | boolean
        | (string | number | boolean)[],
    >

    The parsed query string as an object. Mirrors AngularJS’s $location.setSearch() format.