attachment
fun attachment(value: BackgroundAttachments.() -> BackgroundAttachmentProperty)
Content copied to clipboard
This function is used to set the background-attachment property. Predefined values are offered by BackgroundAttachments.
Example call
background {
attachment { scroll }
}Parameters
value
extension function parameter to bring the predefined origin values in BackgroundAttachments into the scope of the functional expression