What do className
, label
, and role
in the MenuOverlay examples mean?
The document says that these properties is similar to ActionButton, but they are not explained in ActionButton page.
What do className
, label
, and role
in the MenuOverlay examples mean?
The document says that these properties is similar to ActionButton, but they are not explained in ActionButton page.
Hello,
Thank you for contacting us about WebViewer. For those properties:
Please let me know if the above help or if you want me to clarify anything
Best Regards,
Andrew Yip
Software Developer
PDFTron Systems, Inc.
www.pdftron.com
Thank you! The answer is clear.
One more question:
Is there any interface of ActionButton or those properties?
Hello,
Unfortunately we don’t have an interface to use for ActionButton yet. We are slowing moving more of our code base to TypeScript so we hopefully will have proper type for more of our input parameter in the future
Best Regards,
Andrew Yip
Software Developer
PDFTron Systems, Inc.
www.pdftron.com