sepal_ui.frontend.resize_trigger.ResizeTrigger#

class sepal_ui.frontend.resize_trigger.ResizeTrigger(**kwargs)[source]#

A trigger to resize maps when a change of display is done.

Every time resize is called, the javascript resize event is trigger of the application.

Public constructor

Attributes

js

template

the javascript script to manually trigger the resize event

Methods

resize

trigger the template method i.e. the resize event.

Parameters:
  • args (t.Any)

  • kwargs (t.Any)

Return type:

t.Any

ResizeTrigger.resize()[source]#

trigger the template method i.e. the resize event.