BlackPepperSoftware / thymeleaf-fragment.js

Process Thymeleaf fragments in the browser.
Apache License 2.0
8 stars 3 forks source link

add support for DOM selectors #7

Closed lknop closed 7 years ago

lknop commented 7 years ago

This PR adds possibility of referencing fragments by id, class or tag name, as outlined here: http://www.thymeleaf.org/doc/articles/layouts.html#including-with-dom-selectors

Includes also fix for #5 .

markhobson commented 7 years ago

Thanks for the PR @lknop. I've pushed back a slightly different approach:

Apologies for the delay again in getting around to this!

markhobson commented 7 years ago

I've raised #8 to cover the implicit DOM selector syntax.