GE Lua Documentation

Press F to search!

toggleCef

Definition


-- @/lua/ge/extensions/ui/visibility.lua:22

local function toggleCef()
  setCef(not getCef())
end

Callers

@/ui/entrypoints/main/main.js
      $scope.$on("hide_ui", function (event, visible) {
        let cmd = visible === undefined ? `extensions.ui_visibility.toggleCef()` : `extensions.ui_visibility.set(${visible})`
        console.error("The hide_ui function is deprecated and will stop working in the future. Please use " + cmd)