Package dev. fritz2. components
Types
AlertComponent
Link copied to clipboard
AppFrameComponent
Link copied to clipboard
@ExperimentalCoroutinesApi()
Content copied to clipboard
CheckboxComponent
Link copied to clipboard
open class CheckboxComponent(store: Store<Boolean>?) : Component<Label> , EventProperties<HTMLInputElement> , ElementProperties<Input> , InputFormProperties, SeverityProperties
Content copied to clipboard
CheckboxGroupComponent
Link copied to clipboard
open class CheckboxGroupComponent<T>(items: List<T>, store: Store<List<T>>?) : Component<Unit> , InputFormProperties, SeverityProperties
Content copied to clipboard
CloseButtonMixin
Link copied to clipboard
class CloseButtonMixin(closeButtonPrefix: String, defaultStyle: Style<BasicParams>) : CloseButtonProperty
Content copied to clipboard
Default implementation of the CloseButtonProperty interface in order to apply this as mixin for a component
CloseButtonProperty
Link copied to clipboard
interface CloseButtonProperty
Content copied to clipboard
ComponentProperty
Link copied to clipboard
ControlGroupRenderer
Link copied to clipboard
class ControlGroupRenderer(component: FormControlComponent) : ControlRenderer
Content copied to clipboard
ControlRenderer
Link copied to clipboard
interface ControlRenderer
Content copied to clipboard
DefaultOverlay
Link copied to clipboard
class DefaultOverlay(method: OverlayMethod, styling: Style<BasicParams>) : Overlay
Content copied to clipboard
DynamicComponentProperty
Link copied to clipboard
ElementMixin
Link copied to clipboard
Default implementation of the ElementProperties interface in order to apply this as mixin for a component
ElementProperties
Link copied to clipboard
EventMixin
Link copied to clipboard
Default implementation of the EventProperties interface in order to apply this as mixin for a component
EventProperties
Link copied to clipboard
FileReadingStrategy
Link copied to clipboard
FileSelectionBaseComponent
Link copied to clipboard
abstract class FileSelectionBaseComponent
Content copied to clipboard
FormControlComponent
Link copied to clipboard
This component class manages the configuration of a formControl and some render centric functionalities.
FormMixin
Link copied to clipboard
Default implementation of the FormProperties interface in order to apply this as mixin for a component
FormProperties
Link copied to clipboard
interface FormProperties
Content copied to clipboard
IconComponent
Link copied to clipboard
open class IconComponent : Component<Unit> , EventProperties<SVGElement>
Content copied to clipboard
InputFieldComponent
Link copied to clipboard
open class InputFieldComponent(store: Store<String>?) : Component<Unit> , EventProperties<HTMLInputElement> , ElementProperties<Input> , InputFormProperties, SeverityProperties
Content copied to clipboard
InputFormMixin
Link copied to clipboard
Default implementation of the InputFormProperties interface in order to apply this as mixin for a component
InputFormProperties
Link copied to clipboard
LineUpComponent
Link copied to clipboard
ManagedComponent
Link copied to clipboard
ModalComponent
Link copied to clipboard
open class ModalComponent(build: ModalComponent.(SimpleHandler<Unit>) -> Unit) : ManagedComponent<SimpleHandler<Unit>> , CloseButtonProperty
Content copied to clipboard
ModalRenderContext
Link copied to clipboard
MultiFileSelectionComponent
Link copied to clipboard
open class MultiFileSelectionComponent : FileSelectionBaseComponent, Component<Flow<List<File>>>
Content copied to clipboard
MultiSelectionStore
Link copied to clipboard
This store can be used for components with an internal store that has to deal with a List of some type T.
NavbarComponent
Link copied to clipboard
NullableDynamicComponentProperty
Link copied to clipboard
OverlayMethod
Link copied to clipboard
PopoverComponent
Link copied to clipboard
PushButtonComponent
Link copied to clipboard
open class PushButtonComponent : Component<Unit> , EventProperties<HTMLButtonElement> , ElementProperties<Button> , FormProperties
Content copied to clipboard
RadioComponent
Link copied to clipboard
open class RadioComponent(store: Store<Boolean>?) : Component<Label> , EventProperties<HTMLInputElement> , ElementProperties<Input> , InputFormProperties, SeverityProperties
Content copied to clipboard
RadioGroupComponent
Link copied to clipboard
open class RadioGroupComponent<T>(items: List<T>, store: Store<T>?) : Component<Unit> , InputFormProperties, SeverityProperties
Content copied to clipboard
SeverityMixin
Link copied to clipboard
Default implementation of the SeverityProperties interface in order to apply this as mixin for a component
SeverityProperties
Link copied to clipboard
interface SeverityProperties
Content copied to clipboard
This interface defines convenience properties and helper functions to easily apply Severity based behaviour to a component.
SingleControlRenderer
Link copied to clipboard
class SingleControlRenderer(component: FormControlComponent) : ControlRenderer
Content copied to clipboard
SingleFileSelectionComponent
Link copied to clipboard
open class SingleFileSelectionComponent : FileSelectionBaseComponent, Component<Flow<File>>
Content copied to clipboard
SingleSelectionStore
Link copied to clipboard
This store can be used for components with an internal store that has to deal with a single element selection from a collection of predefined values (like for a selectField or radioGroup component)It is based upon the index of an item from the list represented by the Int type.
SpinnerComponent
Link copied to clipboard
open class SpinnerComponent : Component<Unit> , EventProperties<HTMLDivElement>
Content copied to clipboard
StackComponent
Link copied to clipboard
abstract class StackComponent : Component<Div> , EventProperties<HTMLDivElement>
Content copied to clipboard
StackUpComponent
Link copied to clipboard
Svg
Link copied to clipboard
class Svg(id: String?, baseClass: String?, domNode: SVGElement, job: Job) : Tag<SVGElement>
Content copied to clipboard
SwitchComponent
Link copied to clipboard
open class SwitchComponent(store: Store<Boolean>?) : Component<Label> , EventProperties<HTMLInputElement> , ElementProperties<Input> , InputFormProperties, SeverityProperties
Content copied to clipboard
TextAreaComponent
Link copied to clipboard
open class TextAreaComponent(store: Store<String>?) : Component<Unit> , EventProperties<HTMLTextAreaElement> , ElementProperties<TextArea> , InputFormProperties, SeverityProperties
Content copied to clipboard
This class handles the configuration of an textarea elementThe TextArea can be configured for the following aspects:
the size of the element
the direction of resizing
some predefined styles
a default value
the base options of the HTML input element can be set. Attributes
For a detailed explanation and examples of usage have a look at the textArea function !
ToastComponent
Link copied to clipboard
Functions
appFrame
Link copied to clipboard
asAlert
Link copied to clipboard
fun ComponentValidationMessage.asAlert(renderContext: RenderContext, size: FormSizes.() -> Style<BasicParams> = { normal }, stacking: AlertStacking.() -> Style<BasicParams> = { separated })
Content copied to clipboard
Convenience extension to display a ComponentValidationMessage as an alert.
box
Link copied to clipboard
checkbox
Link copied to clipboard
checkboxGroup
Link copied to clipboard
fun <T> RenderContext.checkboxGroup(styling: BasicParams.() -> Unit = {}, items: List<T>, store: Store<List<T>>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "checkboxGroupComponent", build: CheckboxGroupComponent<T>.() -> Unit = {})
Content copied to clipboard
clickButton
Link copied to clipboard
fun RenderContext.clickButton(styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "push-button", build: PushButtonComponent.() -> Unit = {}): DomListener<MouseEvent, HTMLButtonElement>
Content copied to clipboard
createIconSvgElement
Link copied to clipboard
file
Link copied to clipboard
files
Link copied to clipboard
flexBox
Link copied to clipboard
formControl
Link copied to clipboard
fun RenderContext.formControl(styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "formControl", build: FormControlComponent.() -> Unit = {})
Content copied to clipboard
This component wraps input elements like inputField, selectField, checkbox, checkboxGroup, radioGroup.
gridBox
Link copied to clipboard
inputField
Link copied to clipboard
fun RenderContext.inputField(styling: BasicParams.() -> Unit = {}, store: Store<String>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "inputField", build: InputFieldComponent.() -> Unit = {})
Content copied to clipboard
lineUp
Link copied to clipboard
modal
Link copied to clipboard
popover
Link copied to clipboard
pushButton
Link copied to clipboard
fun RenderContext.pushButton(styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "push-button", build: PushButtonComponent.() -> Unit = {})
Content copied to clipboard
radio
Link copied to clipboard
radioGroup
Link copied to clipboard
showToast
Link copied to clipboard
stackUp
Link copied to clipboard
switch
Link copied to clipboard
textArea
Link copied to clipboard
toast
Link copied to clipboard