Class: Attributes

Attributes

new Attributes(domain, iterations, truncation)

A class to describe the user-level "attributes" of a website.

Parameters:
Name Type Description
domain string The domain (default null).
iterations int The number of PBKDF2 iterations (default null).
truncation int The number of characters to truncate to (default Attributes.NO_TRUNCATION).
Source:

Members

(static) NO_TRUNCATION

A static value which indicates that no truncation will be performed on the result (since the number of characters to truncate to cannot be negative).

Source:

Methods

attributesExist() → {boolean}

A function to check if an object of the Attributes class has been "set", or has the default values.

Source:
Returns:
"true" or "false"
Type
boolean