Search
Preparing search index...
The search index is not available
fine-mq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
fine-mq
Index
Type aliases
Fine
Media
Queries
Matching
Aliases
Media
Query
Aliases
Media
Query
Match
Listener
Media
Query
Matcher
Handler
Media
Query
Matcher
Handler
Params
Media
Query
Matchers
Media
Query
Object
Media
Query
Object
With
Shortcuts
Media
Query
ToMatch
Mq
Mq
Dimension
Boundaries
Functions
add
Alias
aliases2mq
create
Fine
Media
Queries
create
Media
Query
Match
Listener
expand
Aliases
get
Alias
Modifiers
get
Aliases
For
Media
Query
get
Dimension
Bounds
get
Match
Listener
get
Media
Query
String
get
Unshortened
MqObject
is
Dimension
is
Unit
Value
json2mq
off
on
parse
ToPx
OrKeep
Value
remove
Alias
remove
Media
Query
Match
Listener
set
Matching
Aliases
unshorten
Alias
Mq
Object literals
Fine
MqPlugin
Type aliases
Fine
Media
Queries
Fine
Media
Queries
:
{
addAlias
:
(
alias
:
string
|
{}
, mediaQuery
?:
MediaQueryToMatch
|
QueryObject
)
=>
void
;
mq
:
Mq
;
off
:
(
aliasOrMediaQuery
?:
undefined
|
string
, callback
?:
MediaQueryMatcherHandler
)
=>
void
;
on
:
(
aliasOrMediaQuery
:
string
, callback
:
MediaQueryMatcherHandler
)
=>
void
;
removeAlias
:
(
alias
:
string
)
=>
void
;
setMatchingAliases
:
(
matchingAliases
:
MatchingAliases
)
=>
void
}
Type declaration
add
Alias
:
(
alias
:
string
|
{}
, mediaQuery
?:
MediaQueryToMatch
|
QueryObject
)
=>
void
(
alias
:
string
|
{}
, mediaQuery
?:
MediaQueryToMatch
|
QueryObject
)
:
void
Parameters
alias:
string
|
{}
Optional
mediaQuery:
MediaQueryToMatch
|
QueryObject
Returns
void
mq
:
Mq
off
:
(
aliasOrMediaQuery
?:
undefined
|
string
, callback
?:
MediaQueryMatcherHandler
)
=>
void
(
aliasOrMediaQuery
?:
undefined
|
string
, callback
?:
MediaQueryMatcherHandler
)
:
void
Parameters
Optional
aliasOrMediaQuery:
undefined
|
string
Optional
callback:
MediaQueryMatcherHandler
Returns
void
on
:
(
aliasOrMediaQuery
:
string
, callback
:
MediaQueryMatcherHandler
)
=>
void
(
aliasOrMediaQuery
:
string
, callback
:
MediaQueryMatcherHandler
)
:
void
Parameters
aliasOrMediaQuery:
string
callback:
MediaQueryMatcherHandler
Returns
void
remove
Alias
:
(
alias
:
string
)
=>
void
(
alias
:
string
)
:
void
Parameters
alias:
string
Returns
void
set
Matching
Aliases
:
(
matchingAliases
:
MatchingAliases
)
=>
void
(
matchingAliases
:
MatchingAliases
)
:
void
Parameters
matchingAliases:
MatchingAliases
Returns
void
Matching
Aliases
Matching
Aliases
:
{}
Type declaration
[
alias:
string
]:
boolean
Media
Query
Aliases
Media
Query
Aliases
:
{}
Type declaration
[
alias:
string
]:
MediaQueryToMatch
Media
Query
Match
Listener
Media
Query
Match
Listener
:
{
handlers
:
MediaQueryMatcherHandler
[]
;
listener
:
(
e
:
MediaQueryListEvent
|
{
matches
:
boolean
}
)
=>
void
;
matcher
:
MediaQueryList
}
Type declaration
Readonly
handlers
:
MediaQueryMatcherHandler
[]
Readonly
listener
:
(
e
:
MediaQueryListEvent
|
{
matches
:
boolean
}
)
=>
void
(
e
:
MediaQueryListEvent
|
{
matches
:
boolean
}
)
:
void
Parameters
e:
MediaQueryListEvent
|
{
matches
:
boolean
}
Returns
void
Readonly
matcher
:
MediaQueryList
Media
Query
Matcher
Handler
Media
Query
Matcher
Handler
:
(
matchedMq
:
MediaQueryMatcherHandlerParams
)
=>
void
Type declaration
(
matchedMq
:
MediaQueryMatcherHandlerParams
)
:
void
Parameters
matchedMq:
MediaQueryMatcherHandlerParams
Returns
void
Media
Query
Matcher
Handler
Params
Media
Query
Matcher
Handler
Params
:
{
alias
:
string
;
matches
:
boolean
;
mediaQuery
:
MediaQueryToMatch
}
Type declaration
Readonly
alias
:
string
Readonly
matches
:
boolean
Readonly
media
Query
:
MediaQueryToMatch
Media
Query
Matchers
Media
Query
Matchers
:
{}
Type declaration
[
alias:
string
]:
MediaQueryMatchListener
Media
Query
Object
Media
Query
Object
:
string
|
number
|
[
number
,
undefined
|
number
]
|
MediaQueryToMatch
|
QueryObject
Media
Query
Object
With
Shortcuts
Media
Query
Object
With
Shortcuts
:
MediaQueryObject
|
number
|
[
number
,
undefined
|
number
]
Media
Query
ToMatch
Media
Query
ToMatch
:
string
Mq
Mq
:
{
aliases
:
MediaQueryAliases
;
matchers
:
MediaQueryMatchers
;
matchingAliases
:
MatchingAliases
}
Type declaration
aliases
:
MediaQueryAliases
matchers
:
MediaQueryMatchers
matching
Aliases
:
MatchingAliases
Mq
Dimension
Boundaries
Mq
Dimension
Boundaries
:
{
bounds
:
[
any
,
any
]
;
boundsParsed
:
[
any
,
any
]
}
Type declaration
bounds
:
[
any
,
any
]
bounds
Parsed
:
[
any
,
any
]
Functions
Const
add
Alias
add
Alias
(
mq
:
Mq
, alias
:
string
|
{}
, mediaQuery
?:
MediaQueryObject
)
:
void
Parameters
mq:
Mq
alias:
string
|
{}
Optional
mediaQuery:
MediaQueryObject
Returns
void
Const
aliases2mq
aliases2mq
(
aliases
:
string
|
{}
)
:
MediaQueryAliases
Parameters
aliases:
string
|
{}
Returns
MediaQueryAliases
Const
create
Fine
Media
Queries
create
Fine
Media
Queries
(
aliases
?:
{}
, defaultMatchedMq
?:
MatchingAliases
)
:
FineMediaQueries
Parameters
Default value
aliases:
{}
= {}
[
key:
string
]:
MediaQueryObject
Default value
defaultMatchedMq:
MatchingAliases
= {}
Returns
FineMediaQueries
Const
create
Media
Query
Match
Listener
create
Media
Query
Match
Listener
(
mq
:
Mq
, aliasOrMediaQuery
:
string
, callback
?:
MediaQueryMatcherHandler
, forceRegistration
?:
undefined
|
false
|
true
)
:
MediaQueryMatchListener
Parameters
mq:
Mq
aliasOrMediaQuery:
string
Optional
callback:
MediaQueryMatcherHandler
Optional
forceRegistration:
undefined
|
false
|
true
Returns
MediaQueryMatchListener
Const
expand
Aliases
expand
Aliases
(
aliases
:
{}
)
:
{}
Parameters
aliases:
{}
[
key:
string
]:
MediaQueryObjectWithShortcuts
Returns
{}
[
key:
string
]:
MediaQueryObject
Const
get
Alias
Modifiers
get
Alias
Modifiers
(
alias
:
string
, __namedParameters
:
{
bounds
:
[
undefined
,
any
]
;
boundsParsed
:
[
any
,
any
]
}
)
:
{}
Parameters
alias:
string
__namedParameters:
{
bounds
:
[
undefined
,
any
]
;
boundsParsed
:
[
any
,
any
]
}
bounds
:
[
undefined
,
any
]
bounds
Parsed
:
[
any
,
any
]
Returns
{}
[
key:
string
]:
any
Const
get
Aliases
For
Media
Query
get
Aliases
For
Media
Query
(
mq
:
Mq
, mediaQuery
:
string
)
:
string
[]
Parameters
mq:
Mq
mediaQuery:
string
Returns
string
[]
Const
get
Dimension
Bounds
get
Dimension
Bounds
(
dimension
:
any
)
:
[
any
,
any
]
Parameters
dimension:
any
Returns
[
any
,
any
]
Const
get
Match
Listener
get
Match
Listener
(
mq
:
Mq
, aliasOrMediaQuery
:
string
)
:
MediaQueryMatchListener
Parameters
mq:
Mq
aliasOrMediaQuery:
string
Returns
MediaQueryMatchListener
Const
get
Media
Query
String
get
Media
Query
String
(
mq
:
Mq
, aliasOrMediaQuery
:
string
)
:
MediaQueryToMatch
Parameters
mq:
Mq
aliasOrMediaQuery:
string
Returns
MediaQueryToMatch
Const
get
Unshortened
MqObject
get
Unshortened
MqObject
(
__namedParameters
:
{
boundsParsed
:
[
any
,
any
]
}
)
:
MediaQueryObject
Parameters
__namedParameters:
{
boundsParsed
:
[
any
,
any
]
}
bounds
Parsed
:
[
any
,
any
]
Returns
MediaQueryObject
Const
is
Dimension
is
Dimension
(
v
:
any
)
:
boolean
Parameters
v:
any
Returns
boolean
Const
is
Unit
Value
is
Unit
Value
(
v
:
any
)
:
boolean
Parameters
v:
any
Returns
boolean
Const
json2mq
json2mq
(
mq
:
MediaQueryObjectWithShortcuts
)
:
string
Parameters
mq:
MediaQueryObjectWithShortcuts
Returns
string
Const
off
off
(
mq
:
Mq
, aliasOrMediaQuery
?:
undefined
|
string
, callback
?:
MediaQueryMatcherHandler
)
:
void
Parameters
mq:
Mq
Optional
aliasOrMediaQuery:
undefined
|
string
Optional
callback:
MediaQueryMatcherHandler
Returns
void
Const
on
on
(
mq
:
Mq
, aliasOrMediaQuery
:
string
, callback
:
MediaQueryMatcherHandler
)
:
(
)
=>
void
Parameters
mq:
Mq
aliasOrMediaQuery:
string
callback:
MediaQueryMatcherHandler
Returns
(
)
=>
void
(
)
:
void
Returns
void
Const
parse
ToPx
OrKeep
Value
parse
ToPx
OrKeep
Value
(
v
:
any
)
:
any
Parameters
v:
any
Returns
any
Const
remove
Alias
remove
Alias
(
mq
:
Mq
, alias
:
string
)
:
void
Parameters
mq:
Mq
alias:
string
Returns
void
Const
remove
Media
Query
Match
Listener
remove
Media
Query
Match
Listener
(
mq
:
Mq
, aliasOrMediaQuery
:
string
)
:
void
Parameters
mq:
Mq
aliasOrMediaQuery:
string
Returns
void
Const
set
Matching
Aliases
set
Matching
Aliases
(
mq
:
Mq
, matchingAliases
?:
MatchingAliases
)
:
MatchingAliases
Parameters
mq:
Mq
Default value
matchingAliases:
MatchingAliases
= {}
Returns
MatchingAliases
Const
unshorten
Alias
Mq
unshorten
Alias
Mq
(
mqObject
:
MediaQueryObjectWithShortcuts
)
:
{
boundaries
:
MqDimensionBoundaries
;
mq
:
MediaQueryObject
}
Parameters
mqObject:
MediaQueryObjectWithShortcuts
Returns
{
boundaries
:
MqDimensionBoundaries
;
mq
:
MediaQueryObject
}
boundaries
:
MqDimensionBoundaries
mq
:
MediaQueryObject
Object literals
Const
Fine
MqPlugin
Fine
MqPlugin
:
object
install
install
(
app
:
any
, options
?:
{
aliases
?:
MediaQueryAliases
;
defaultMatchingAliases
?:
MatchingAliases
}
)
:
void
Parameters
app:
any
Default value
options:
{
aliases
?:
MediaQueryAliases
;
defaultMatchingAliases
?:
MatchingAliases
}
= {}
Optional
aliases
?:
MediaQueryAliases
Optional
default
Matching
Aliases
?:
MatchingAliases
Returns
void
Globals
Fine
Media
Queries
Matching
Aliases
Media
Query
Aliases
Media
Query
Match
Listener
Media
Query
Matcher
Handler
Media
Query
Matcher
Handler
Params
Media
Query
Matchers
Media
Query
Object
Media
Query
Object
With
Shortcuts
Media
Query
ToMatch
Mq
Mq
Dimension
Boundaries
add
Alias
aliases2mq
create
Fine
Media
Queries
create
Media
Query
Match
Listener
expand
Aliases
get
Alias
Modifiers
get
Aliases
For
Media
Query
get
Dimension
Bounds
get
Match
Listener
get
Media
Query
String
get
Unshortened
MqObject
is
Dimension
is
Unit
Value
json2mq
off
on
parse
ToPx
OrKeep
Value
remove
Alias
remove
Media
Query
Match
Listener
set
Matching
Aliases
unshorten
Alias
Mq
Fine
MqPlugin
Generated using
TypeDoc