ElementAttribute QML Type

A QtQuick representation of an attribute on an Element. More...

Import Statement: import org.kde.union.impl

Detailed Description

This type represents an attribute as a combination of name and value. Similar to ElementHint this is used as part of QuickElement's API to provide a list of attributes that apply to the element.

Note that, next to using the when property to disable an attribute, if an ElementAttribute's value is null or undefined, it will also be removed from the element's list of attributes.

See also QuickElement and ElementHint.