justpy
justpy copied to clipboard
parse_html and custom components
Discussed in https://github.com/elimintz/justpy/discussions/286
Originally posted by arechnitzer July 27, 2021 I'm trying to make some custom components and I'd like to get them to work with the parse_html function. I've tried added the @jp.parse_dict decorator, but without success.
If I wanted to get your "MyAlert" component from the docs to work as a tag recognised by jp.parse_html, how would I need to adapt it?
I understand why this could be an interesting feature. This is not yet supported. Will try to add to one of the next versions.