Module cream

Cream-Browser API

Author:

David Delassus <david.jose.delassus@gmail.com>

Functions

state.current (...) Set/get current browser's state

Tables

state All available browser's states


Functions

state.current (...)
Set/get current browser's state

Parameters

  • ...: If given, set the browser's state

Return value:

If no parameters are given, return current browser's state

Tables

state
All available browser's states Fields
  • insert: INSERT mode (editing)
  • command: CMD mode (typing a command in the inputbox)
  • search: FIND mode (typing a search in the inputbox)
  • embed: EMBED mode (focus on a plugin like flashplayer)
  • caret: CARET mode (caret browsing)
  • normal: Normal mode
  • all: Mask for all states

Valid XHTML 1.0!