ResourcesLoader

APIRendererResourcesLoader

Access it with:

ResourcesLoader {}

Example:

Item {
    ResourcesLoader {
        id: loader
        resources: app.resources
    }
    Text {
        text: 'Progress: ' + loader.progress * 100 + '%'
    }
}

Source

ResourcesLoader.New(options)

Parameters:
  • options — Objectoptional
Returns:
ResourcesLoader

Source

ResourcesLoader::resources

Type:
Resources

Source

ResourcesLoader::progress

Type:
Float
Default value:
0
Read Only

ResourcesLoaded::onProgressChange(oldValue)

Parameters:
  • oldValue — Float
Type:
Signal

Source