Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
less
tree
mixin
Definition
Class Definition
Hierarchy
Ruleset
Definition
Index
Constructor methods
constructor
Properties
rules
selectors
strictImports
Methods
eval
evalImports
find
joinSelector
joinSelectors
makeImportant
matchArgs
mergeElementsOnToSelectors
resetCache
rulesets
toCSS
variable
variables
Constructor methods
constructor
(
selectors
:
Selector
[]
, rules
:
Rule
[]
, strictImports
:
any
)
:
Ruleset
Parameters
selectors:
Selector
[]
rules:
Rule
[]
strictImports:
any
Returns
Ruleset
Properties
public
rules
:
Array<any>
public
selectors
:
Selector
[]
public
strictImports
:
any
Methods
public
eval
(
env
:
Options
)
:
Ruleset
Parameters
env:
Options
Returns
Ruleset
public
evalImports
(
env
:
Options
)
Parameters
env:
Options
public
find
(
selector
:
Selector
, self
:
Rule
)
:
Rule
[]
Parameters
selector:
Selector
self:
Rule
Returns
Rule
[]
public
joinSelector
(
paths
:
Array<string>
, context
:
Array<any[]>
, selector
:
Selector
)
Parameters
paths:
Array<string>
context:
Array<any[]>
selector:
Selector
public
joinSelectors
(
paths
:
Array<string>
, context
:
Array<any[]>
, selectors
:
Selector
[]
)
Parameters
paths:
Array<string>
context:
Array<any[]>
selectors:
Selector
[]
public
makeImportant
(
)
:
Ruleset
Returns
Ruleset
public
matchArgs
(
args
:
any
)
:
boolean
Parameters
args:
any
Returns
boolean
public
mergeElementsOnToSelectors
(
elements
:
Element
[]
, selectors
:
Selector
[]
)
Parameters
elements:
Element
[]
selectors:
Selector
[]
public
resetCache
(
)
public
rulesets
(
)
:
Ruleset
[]
Returns
Ruleset
[]
public
toCSS
(
context
?:
Array<any[]>
, env
?:
Options
)
:
string
Parameters
context?:
Array<any[]>
optional
env?:
Options
optional
Returns
string
public
variable
(
)
:
Rule
Returns
Rule
public
variables
(
)
:
RuleContainer
Returns
RuleContainer
Globals
less
less.tree
less.tree.functions
less.tree.mixin
Call
Definition
constructor
rules
selectors
strictImports
eval
evalImports
find
joinSelector
joinSelectors
makeImportant
matchArgs
mergeElementsOnToSelectors
resetCache
rulesets
toCSS
variable
variables