Members
-
<static, constant> proj4 :proj4
-
A proj4 instnce with NYC coordinate systems defined
Type:
- proj4
Methods
-
<static> activeElement()
-
Returns an object describing the element that currently has focus
Returns:
An object containing the element and a boolean indicating if it is a text input
- Type
- Object
-
<static> bind(fn, scope)
-
Parameters:
Name Type Description fnfunction Function
scopeObject Scope object
Returns:
Scoped function
- Type
- function
-
<static> cacheBust(minutes)
-
Returns a cache bust param for query strings
Parameters:
Name Type Description minutesnumber Minutes
Returns:
Time in milliseconds
- Type
- number
-
<static> capitalize(s)
-
Parameters:
Name Type Description sstring A string
Returns:
Input string with the first letter of each word capitalized
- Type
- string
-
<static> html(object)
-
Parameters:
Name Type Description objectObject An object
Returns:
HTML string
- Type
- jQuery
-
<static> loading(target)
-
Shows the loading splash screen on eleents with loading class
Parameters:
Name Type Description targetjQuery Target elements
-
<static> nextId(prefix)
-
Parameters:
Name Type Description prefixstring An id prefix
Returns:
A unique id
- Type
- string
-
<static> noSpaceBarScroll()
-
Disables scrolling on keypress when user presses the space bar on a button or a link by adding a kepress event handler to the document. The click event is triggered on buttons and links without and href attribute or with an href value of #. If a link has an href the browser will navigate to that location. If a link also has a target attribute the navigation will take place in a new tab.
-
<static> ready( [target])
-
Clears the loading splash screen
Parameters:
Name Type Argument Default Description targetjQuery <optional>
body Target elements
-
<static> removeDups(arr)
-
Returns an array with duplicates removed
Parameters:
Name Type Description arrArray.<string> | Array.<number> An array with possible duplicates
Returns:
An array without duplicates
- Type
- Array.<string> | Array.<number>