mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
feat(DomController): add DomController provider using stencil queue
This commit is contained in:
@ -9,7 +9,9 @@ declare const Context: any;
|
||||
|
||||
// queue used to coordinate DOM reads and
|
||||
// write in order to avoid layout thrashing
|
||||
Ionic.queue = Context.queue;
|
||||
Object.defineProperty(Ionic, 'queue', {
|
||||
get: () => Context.queue
|
||||
});
|
||||
|
||||
if (!Context.platforms) {
|
||||
Context.platforms = detectPlatforms(window.location.href, window.navigator.userAgent, PLATFORM_CONFIGS, 'core');
|
||||
|
||||
Reference in New Issue
Block a user