Tooltips
New in v12.5.0
description
tooltip added for views.
Tooltips can be created by setting the description
argument (max. 200 characters) on any of the
input fields, tabs and sections,
pages, steps, or
views as follows:
class Parametrization(ViktorParametrization):
number = NumberField("My number", description="This text is shown in the field's tooltip")
class Parametrization(ViktorParametrization):
tab = Tab("My tab", description="This text is shown in the tab's tooltip")
tab.section = Section("My section", description="This text is shown in the section's tooltip")
class Parametrization(ViktorParametrization):
page = Page("My page", description="This text is shown in the page's tooltip")
class Parametrization(ViktorParametrization):
step = Step("My step", description="This text is shown in the step's tooltip")
class Contoller(ViktorContoller):
...
@MapView("My map view", duration_guess=1, description="This text is shown in the view's tooltip")
def my_map_view(self, params, **kwargs):
...
The value of description
can be styled using Markdown.