Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.0

0.6.0 / src / webview_api / module.lucb

#==============================================================================================
#
#   webview_api - the webview module's face for an application, in types Luce crosses
#
#   DESCRIPTION:
#       A view as a handle and free functions of scalars, text and one enum (api.lucb), over
#       the webview module. It is a module of its own so that what a Luce program reads of it
#       (its description) names no engine type: a Luce program importing webview itself would
#       read the descriptions of the modules webview's public declarations name (ak, gc, web),
#       which Luce does not read today (luce-browser-tools/compiler-issues/
#       luce_import_private_conformance_method.lucb).
#
#       Copyright (c) 2026 the luce-browser authors.
#       SPDX-License-Identifier: BSD-2-Clause (see LICENSE)
#
#==============================================================================================

import memory
import time
from luce_std import math
from luce_browser_foundation import ak, web_url
from luce_browser_render import gfx
import web
import webview