Package dev.fritz2.components.appFrame

Types

Link copied to clipboard
open class AppFrameComponent : Component<Unit> , CloseButtonProperty

This class combines the configuration and the core rendering of the appFrame.

Link copied to clipboard
sealed class AppFrameScope : Scope.Key<Boolean>

Functions

Link copied to clipboard
fun registerServiceWorker(jsFileName: String = "serviceWorker.js")

Call this function at the beginning of your main() function to enable the PWA functionality of the appFrame component by registering your serviceWorker.js file.