ComponentWrapper

class dasha.web.templates.ComponentWrapper(component, parent=None)[source]

Bases: dasha.web.templates.Template

A class that wraps a Dash component instance.

Attributes Summary

id

The unique id.

idbase

The base name of the generated id.

layout

Implement this to return a valid Dash layout object.

Methods Summary

setup_layout(self, app)

Implement this to declare layout components and their callbacks.

Attributes Documentation

id

The unique id.

idbase

The base name of the generated id.

layout

Implement this to return a valid Dash layout object.

Methods Documentation

setup_layout(self, app)[source]

Implement this to declare layout components and their callbacks.