2.167 .history_count

Sets/Returns the number of pages in the history.

Definition

  • Data type

    integer

  • Access

    get, set

  • changed event

    no

The history of the dmw_webview object stores the web pages most recently visited by the user. The .history_count attribute now returns the number of entries stored in the history. The :clearhistory() method can be used to clear the history.

Changes to the history resulting from interaction with the website do not generate events. However, the start/finish event can be interpreted as a trigger for changes to the history.

Remarks

The page history is not persistent and can only be guaranteed while the object is visible. Making the object invisible, directly or indirectly, will permanently delete the history.

This attribute defines the number of entries in the attributes .history_url and .history_title. The currently displayed active web page from the history can be queried and changed via .history_curritem.

See also

Attributes .history_curritem, .history_title, .history_url

Object dmw_webview