Revision history [back]

click to hide/show revision 1
initial version

asked 2020-03-23 03:57:10 +0800

nikidea gravatar image nikidea

How do I add a custom attribute to a component?

Hi ZK Forum, I need help creating a custom attribute which should show when we "inspect element" in the browser. I need a static id for automation testing purposes For example,

<listbox static-id="searchResultListbox">

how to create a custom attribute like 'static-id' above?

How do I add a custom attribute to a component?

Hi ZK Forum, I need help creating a custom attribute which should show when we "inspect element" in the browser. I need a static id for automation testing purposes For example,

<listbox static-id="searchResultListbox">

how to create a custom attribute like 'static-id' above?above? I want this static-id element to be available for all components.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More