Desktop.Menu.Adapter protocol (Desktop v1.3.2) View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Specs

create(t(), dom :: any()) :: t()

Specs

get_icon(t()) :: any()
Link to this function

recreate_menu(adapter, dom)

View Source

Specs

recreate_menu(t(), dom :: any()) :: t()

Specs

set_icon(t(), any()) :: {:ok, any()} | {:error, any()}
Link to this function

update_dom(adapter, dom)

View Source

Specs

update_dom(t(), dom :: any()) :: t()