selector_parse

selector_parse($selector)

Parses a user-provided selector into a list of lists of strings as returned by &.

Examples:

selector-parse(".foo .bar, .baz .bang") => ('.foo' '.bar', '.baz' '.bang')

Returns A list of lists of strings representing $selector. This is in the same format as a selector returned by &.

Parameters:

  • $selector (String, List) The selector to parse. This can be either a string, a list of strings, or a list of lists of strings as returned by &.

Returns:

  • (List) A list of lists of strings representing $selector. This is in the same format as a selector returned by &.
doc_Sass
2016-11-11 13:09:24
Comments
Leave a Comment

Please login to continue.