a
    Df                     @   s4   d Z ddlmZmZ ddlmZ G dd deZdS )zZThis module provides a Bokeh Location Model as a wrapper around the JS window.location api    )BoolString)Modelc                   @   sp   e Zd ZdZedddZedddZedddZedddZedddZ	edd	dZ
edd
dZedddZdS )Locationa;  
    A python wrapper around the JS `window.location` api. See
    https://www.w3schools.com/js/js_window_location.asp and
    https://www.w3.org/TR/html52/browsers.html#the-location-interface

    You can use this model to provide (parts of) the app state to the
    user as a bookmarkable and shareable link.
     zD
      The full url, e.g. 'https://localhost:80?color=blue#interact')defaulthelpz;
      hostname in window.location e.g. 'panel.holoviz.org'zC
      pathname in window.location e.g. '/user_guide/Interact.html'z/
      protocol in window.location e.g. 'https'z&
      port in window.location e.g. 80z3
      search in window.location e.g. '?color=blue'z/
      hash in window.location e.g. '#interact'Tz
      Reload the page when the location is updated. For multipage apps
      this should be set to True, For single page apps this should be
      set to FalseN)__name__
__module____qualname____doc__r   hrefhostnamepathnameprotocolportsearchhashr   reload r   r   b/nfs/NAS7/SABIOD/METHODE/ermites/ermites_venv/lib/python3.9/site-packages/panel/models/location.pyr      s   	r   N)r   Zbokeh.core.propertiesr   r   Zbokeh.modelsr   r   r   r   r   r   <module>   s   