The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Object::DOM::Element::Menu - HTML Object DOM Menu Class

SYNOPSIS

    use HTML::Object::DOM::Element::Menu;
    my $menu = HTML::Object::DOM::Element::Menu->new ||
        die( HTML::Object::DOM::Element::Menu->error, "\n" );

VERSION

    v0.2.0

DESCRIPTION

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.

INHERITANCE

    +-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +----------------------------------+
    | HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Menu |
    +-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +----------------------------------+

PROPERTIES

Inherits properties from its parent HTML::Object::DOM::Element

compact

A Boolean value determining if the menu displays in a compact way.

See also Mozilla documentation

label

A string associating the menu with a name, displayed when the menu is used as a context menu. This use of the <menu> element has never been implemented widely and is now deprecated.

See also Mozilla documentation

type

Returns context if the menu is a context menu. This use of the <menu> element has never been implemented widely and is now deprecated.

See also Mozilla documentation

METHODS

Inherits methods from its parent HTML::Object::DOM::Element

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation, Mozilla documentation on menu element

COPYRIGHT & LICENSE

Copyright(c) 2022 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.