Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the ability to override the ElementsFactory globally #806

Closed
vegegoku opened this issue Aug 5, 2023 · 0 comments
Closed

Introduce the ability to override the ElementsFactory globally #806

vegegoku opened this issue Aug 5, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request version 2.x.x Version 2.x.x issues
Projects
Milestone

Comments

@vegegoku
Copy link
Member

vegegoku commented Aug 5, 2023

Now from DominoUIConfig the user can do something like the following to change the default way of creating elements

DominoUIConfig.CONFIG.setElementsFactory(new ElementsFactoryDelegate() {
            @Override
            public AnchorElement a() {
                return new AnchorElement(dom.a())
                        .setAttribute("tabindex", "0")
                        .setAttribute("aria-expanded", "true");
            }
        });
@vegegoku vegegoku added enhancement New feature or request version 2.x.x Version 2.x.x issues labels Aug 5, 2023
@vegegoku vegegoku added this to the 2.0.0-RC2 milestone Aug 5, 2023
@vegegoku vegegoku self-assigned this Aug 5, 2023
@vegegoku vegegoku added this to To do in Domino UI via automation Aug 5, 2023
@vegegoku vegegoku closed this as completed Aug 5, 2023
Domino UI automation moved this from To do to Done Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request version 2.x.x Version 2.x.x issues
Projects
Domino UI
  
Done
Development

No branches or pull requests

1 participant