@@ -6,7 +6,7 @@ from ..events import ClickEventArguments, handle_event
from .element import Element
class Button(Element):
- text = BindableProperty
+ text = BindableProperty()
def __init__(self,
text: str = '',
@@ -3,7 +3,7 @@ from ..binding import bind_from, bind_to, BindableProperty
from ..globals import view_stack, page_stack
class Element:
- visible = BindableProperty
+ visible = BindableProperty()
view: jp.HTMLBaseComponent,
@@ -4,7 +4,7 @@ from ..binding import bind_from, bind_to, BindableProperty
from .group import Group
class Image(Group):
- source = BindableProperty
+ source = BindableProperty()
source: str = '',
class Label(Element):
@@ -9,7 +9,7 @@ from .globals import view_stack
class Timer:
tasks = []
- active = BindableProperty
+ active = BindableProperty()
def __init__(self, interval: float, callback: Union[Callable, Awaitable], *, active: bool = True, once: bool = False):
"""Timer