Labs/Jetpack/Reboot/JEP/112: Difference between revisions

(A couple of corrections)
Line 96: Line 96:
Contexts may be specified with any of the following types:
Contexts may be specified with any of the following types:


; string: A CSS selector.  The context arises when the menu is invoked on a node that either matches this selector or has an ancestor that matches.  The selector is scoped to the <tt>body</tt> of the page.
; string: A CSS selector.  The context arises when the menu is invoked on a node that either matches this selector or has an ancestor that matches.


; null: The page context.  The context arises when the menu is invoked on a non-interactive portion of the page.  The definition of "non-interactive" is at Jetpack's discretion.
; null: The page context.  The context arises when the menu is invoked on a non-interactive portion of the page.  The definition of "non-interactive" is at Jetpack's discretion.
Confirmed users
764

edits