mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
526 B
TypeScript
18 lines
526 B
TypeScript
import enquire = require('enquire.js');
|
|
|
|
enquire
|
|
.register('(min-width: 300px) and (max-width: 600px)', {
|
|
deferSetup: true,
|
|
match: () => {},
|
|
unmatch: () => {},
|
|
setup: () => {},
|
|
destroy: () => {}
|
|
})
|
|
.register('(min-width: 300px) and (max-width: 600px)', {});
|
|
|
|
enquire.register('(min-width: 300px) and (max-width: 600px)', [{}, {}], true);
|
|
|
|
enquire.register('(min-width: 300px) and (max-width: 600px)', () => {}, true);
|
|
|
|
enquire.unregister('(min-width: 300px) and (max-width: 600px)');
|