Function appendToLocationSearch

  • import { appendToLocationSearch } from '@src/hylo-components/utils/usefull/usefull';

    Appends key/value pairs to the url search string. Always appends the key/value pair even if the key already exists.

    Fires the event "hyloLocationSearchChanged" on the windows object.

    Parameters

    • values: {
          [key: string]: string;
      }

      an object with key/value pairs to append to the search string

      • [key: string]: string
    • Optional replace: boolean

      whether to create a new history entry or replace the current

    Returns void

Generated using TypeDoc