Skip to content

Commit

Permalink
fix(simput): add query attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Apr 1, 2022
1 parent 642eed5 commit 6ce8de0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trame/html/simput/__init__.py
Expand Up @@ -20,6 +20,8 @@ class Simput(AbstractElement):
:param domains_manager: See simput docs |simput_link| for more info
:param prefix: Constructing a Simput component will set several variables, optionally prefixed by a namespace
:type prefix: str | None
:param query: String filtering
:type query: str
:param children: The children nested within this element
:type children: str | list[trame.html.*] | trame.html.* | None
Expand All @@ -38,6 +40,7 @@ def __init__(
)
self._attributes["wsClient"] = ':wsClient="wsClient"'
self._attributes["namespace"] = f'namespace="{ns}"'
self._attr_names += ["query"]

@property
def controller(self):
Expand Down

0 comments on commit 6ce8de0

Please sign in to comment.