HTML::Object::DOM::Element::Menu - HTML Object DOM Menu Class
use HTML::Object::DOM::Element::Menu; my $menu = HTML::Object::DOM::Element::Menu->new || die( HTML::Object::DOM::Element::Menu->error, "\n" );
v0.2.0
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +----------------------------------+ | HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Menu | +-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +----------------------------------+
Inherits properties from its parent HTML::Object::DOM::Element
A Boolean value determining if the menu displays in a compact way.
See also Mozilla documentation
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.
Returns context if the menu is a context menu. This use of the <menu> element has never been implemented widely and is now deprecated.
Inherits methods from its parent HTML::Object::DOM::Element
Jacques Deguest <jack@deguest.jp>
Mozilla documentation, Mozilla documentation on menu element
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.
To install HTML::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Object
CPAN shell
perl -MCPAN -e shell install HTML::Object
For more information on module installation, please visit the detailed CPAN module installation guide.