Docs

Get started with the @ Menu

Options

Options for the @ Menu JS Plugin.

Required Options

The following options are required for the @ Menu to initialize.

Name
target
Type
string
Default
N/A
Summary
The element of the textarea you want the menu to appear on.
Name
menu
Type
string
Default
N/A
Summary
The div you want to appear.

Extra Options

The following options can be used to extend and customise the At Menu.

Name
openMenu
Type
string or string array
Default
@
Summary
The character that when typed will display the menu.
Name
closeMenu
Type
string
Default
Escape
Summary
The character that when typed will close the menu.
Name
items
Type
string
Default
.atm-item
Summary
The child items of the menu. E.g. a menu item. This allows filtering of the menu. This is generally a class as there are many items in the menu.
Name
marginTop
Type
int
Default
0
Summary
Margin Top of the menu. This allows the menu to not overflow the text.