Back to Top

ericwbailey.design master

Boston-based user experience designer.

reverseString(string)

Takes a string and reverses it (ex: "foobar" becomes "raboof").

Parameters

Name Type Description
string String

String to be reversed.

Examples

reverseString(string)

Returns

Void

printContactInfo()

Takes the contactInfo object and turns it into an email address. Used to help mitigate spam.

Examples

printContactInfo()

Returns

String

String containing the deobfuscated email address.

handleDialogueButtonClick()

Propagates the email address into an inpupt field and provider contact links, provides the relevant subject, then displays the A11yDialog when a click event listener is fired.

Examples

handleDialogueButtonClick()

Returns

String

String containing the deobfuscated email address.

resetCopyButton()

Removes the success state from the button and restores the button content to its original state.

Examples

resetCopyButton()

Returns

Void