PopupMenu.PopupMenuAbstractItem: Cinnamon Javascript Reference Manual

## PopupMenu.PopupMenuAbstractItem PopupMenu.PopupMenuAbstractItem — A class to represent any abstract menu item. |

## Object Hierarchy

        Object
        ╰── PopupMenu.PopupMenuAbstractItem

## Description

This is an abstract class for create a binding between the PopupMenuItem class , and an abstract representation of a menu item. If you want to create a cinnamon menu structure, you need to inherit from this class and implement the functions getItemById and handleEvent. All instances of this class need to have a unique id to represent a menu item.