Check out example codes for "The marking menu shortcuts to context-sensitive commands and tools. Marking menu accessed for objects:". It will help you in understanding the concepts better.

Code Example 1

The marking menu shortcuts to context-sensitive commands and tools. Marking menu accessed for objects:
  right

Learn ReactJs, React Native from akashmittal.com