CSSProvider

public extension CSSProvider
  • Convenience initialiser from a given string

    Throws

    an ErrorType if there is an issue with the CSS

    Declaration

    Swift

    @inlinable
    convenience init(from data: String) throws

    Parameters

    data

    String providing the CSS data