mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
refactor(backdrop): place disable-scroll class on ion-app
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, ComponentResolver, EventEmitter, Injectable, Renderer, ViewChild, ViewContainerRef } from '@angular/core';
|
||||
import { Component, ComponentResolver, EventEmitter, HostBinding, Injectable, Renderer, ViewChild, ViewContainerRef } from '@angular/core';
|
||||
import { Title } from '@angular/platform-browser';
|
||||
|
||||
import { ClickBlock } from '../../util/click-block';
|
||||
@ -297,6 +297,8 @@ export class AppRoot {
|
||||
});
|
||||
}
|
||||
|
||||
@HostBinding('class.disable-scroll') disableScroll: boolean = false;
|
||||
|
||||
}
|
||||
|
||||
const CLICK_BLOCK_BUFFER_IN_MILLIS = 64;
|
||||
|
Reference in New Issue
Block a user