-
Convenience method to add a style provider to the current screen
Declaration
Swift
@inlinable func add<P>(provider p: P, priority: Int32 = STYLE_PROVIDER_PRIORITY_APPLICATION) where P : StyleProviderProtocol
Parameters
p
style provider to add
priority
the priority of the provider (defaults to
STYLE_PROVIDER_PRIORITY_APPLICATION
) -
Convenience method to add a CSS style provider to the current screen
Declaration
Swift
@inlinable func add<P>(provider p: P, priority: Int32 = STYLE_PROVIDER_PRIORITY_APPLICATION) where P : CssProviderProtocol
Parameters
p
CSS style provider to add
priority
the priority of the provider (defaults to
STYLE_PROVIDER_PRIORITY_APPLICATION
)