com.aspose.html

Class HTMLMenuElement

    • Constructor Detail

      • HTMLMenuElement

        public HTMLMenuElement(com.aspose.html.dom.DOMName name,
                               Document doc)

        Initializes a new instance of the HTMLMenuElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • getCompact

        @DOMNameAttribute(name="compact")
        public boolean getCompact()

        Reduce spacing between list items. See the compact attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setCompact

        @DOMNameAttribute(name="compact")
        public void setCompact(boolean value)

        Reduce spacing between list items. See the compact attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.