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

feat: add _metadata property to vuetifytemplate and html compoennts #309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion ipyvuetify/Html.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# added in the frontend.

from ipyvue import Html as VueHtml
from traitlets import Unicode
from traitlets import Unicode, Dict

from ._version import semver

Expand All @@ -21,5 +21,7 @@ class Html(VueHtml):

_model_module_version = Unicode(semver).tag(sync=True)

_metadata = Dict(default_value=None, allow_none=True).tag(sync=True)


__all__ = ["Html"]
4 changes: 3 additions & 1 deletion ipyvuetify/VuetifyTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# added in the frontend.

from ipyvue import VueTemplate
from traitlets import Unicode
from traitlets import Unicode, Dict

from ._version import semver

Expand All @@ -21,5 +21,7 @@ class VuetifyTemplate(VueTemplate):

_model_module_version = Unicode(semver).tag(sync=True)

_metadata = Dict(default_value=None, allow_none=True).tag(sync=True)


__all__ = ["VuetifyTemplate"]