Jinntec / Fore

Fore - declarative user interfaces in plain HTML
MIT License
80 stars 11 forks source link

copy attributes for fx-fore with src #215

Closed JoernT closed 1 year ago

JoernT commented 1 year ago

When using fx-fore with the src attribute the original attributes of the fx-foreelement shold be present on the imported fx-foreelements after replacing the element.

There can be clashed if the imported element has the same attributes. In that the attribures on the importiing element should take precedence.

Values for the class attribute should be merged.

Adding this behavior would allow to pass params down to the imported fore element.

JoernT commented 1 year ago

done on branch and gets merged before next release.