You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement this very simple example with reacton.ipvuetify.VuetifyTemplate. The implementation if templates in reacton is a method instead of a class and I am unsure as to how you pass methods to the function (in this example the vue_btn_click).
import traitlets
import ipyvuetify
class TestWidget(ipyvuetify.VuetifyTemplate):
template = traitlets.Unicode('''
<template>
<v-btn @click="btn_click">
Button
</v-btn>
</template>
''').tag(sync=True)
def vue_btn_click(self, data):
print(1)
test = TestWidget()
test
The text was updated successfully, but these errors were encountered:
I am trying to implement this very simple example with reacton.ipvuetify.VuetifyTemplate. The implementation if templates in reacton is a method instead of a class and I am unsure as to how you pass methods to the function (in this example the
vue_btn_click
).The text was updated successfully, but these errors were encountered: