Default facility feature decorations
- Source:
Methods
-
<static> addressHtml()
-
Returns the full address of a facility feature to append to HTML
- Source:
Returns:
- Type
- jQuery
-
<static> cssClass()
-
Returns a css class for the facility feature HTML
- Source:
Returns:
- Type
- string
-
<static> detailsCollapsible()
-
Returns an HTML button that when clicked will display the provided details
- Source:
Returns:
- Type
- jQuery
-
<static> detailsHtml()
-
Returns the website URL for a facility feature
Parameters:
Type Description jQuery | Element | string - Source:
-
<static> directionsButton()
-
Returns an HTML button that when clicked will provide directions to the facility
- Source:
Returns:
- Type
- jQuery
-
<static> distanceHtml(screenReaderOnly)
-
Returns HTML rendering of the distance from the user location to the facility
Parameters:
Name Type Description screenReaderOnlyboolean Return distance for screen readers
- Source:
Returns:
- Type
- jQuery
-
<static> emailButton()
-
Returns an HTML button that when clicked will open email editor for the provided email
- Source:
Returns:
- Type
- jQuery
-
<static> getAddress1()
-
Returns the address line 1 of a facility feature
- Source:
Returns:
- Type
- string
-
<static> getAddress2()
-
Returns the address line 2 of a facility feature
- Source:
Returns:
- Type
- string
-
<static> getCityStateZip()
-
Returns the city, state zip line of a facility feature
- Source:
Returns:
- Type
- string
-
<static> getEmail()
-
Returns the email for a facility feature
- Source:
Returns:
- Type
- string
-
<static> getFullAddress()
-
Returns full address for use with Google directions API
- Source:
Returns:
- Type
- string
-
<static> getName()
-
Returns the name of a facility feature
- Source:
Returns:
- Type
- string
-
<static> getPhone()
-
Returns the phone number for a facility feature
- Source:
Returns:
- Type
- string
-
<static> getWebsite()
-
Returns the website URL for a facility feature
- Source:
Returns:
- Type
- string
-
<static> html()
-
Returns HTML rendering of a facility feature
- Source:
Returns:
- Type
- jQuery
-
<static> mapButton()
-
Returns an HTML button that when clicked will zoom to the facility
- Source:
Returns:
- Type
- jQuery
-
<static> nameHtml()
-
Returns the name of a facility feature to append to HTML
- Source:
Returns:
- Type
- jQuery
-
<static> phoneButton()
-
Returns an HTML button that when clicked will call the provided phone number
- Source:
Returns:
- Type
- jQuery
-
<static> websiteButton()
-
Returns an HTML button that when clicked will open the facility web site
- Source:
Returns:
- Type
- jQuery