Package dev.fritz2.components.appFrame

Types

AppFrameComponent
Link copied to clipboard
js
open class AppFrameComponent : Component<Unit> , CloseButtonProperty
This class combines the configuration and the core rendering of the appFrame.
AppFrameScope
Link copied to clipboard
js
sealed class AppFrameScope : Scope.Key<Boolean>

Functions

registerServiceWorker
Link copied to clipboard
js
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.