fragment

fun fragment(name: String, type: String, init: Fragment.() -> Unit): Fragment

Creates a Fragment that can be registered in a Query for use

Parameters

name

Name of the fragment

type

Type on which the fragment acts

init

Lambda to set up the fragment

See also