.hash() - hlaCk/UnderZ GitHub Wiki

Hash insertion

Inserts hash to the current URL.


Creating hash reference

_z.hash( name )

  • _z to access UnderZ library.
  • hash method/action name.
  • name hash name.

Returns: inserts hash into URL.


Examples:

var x = 2
var y = "hash" 

_z.hash(x); // 2
_z.hash(y); // hash