Add event options as an option for the trigger function
Add attachLink method with test