mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
fix(inputs): apply ng form classes (#18820)
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
import { HTMLStencilElement } from '../types/interfaces';
|
||||
|
||||
export const raf = (h: any) => {
|
||||
const win = window as any;
|
||||
return (win.__zone_symbol__requestAnimationFrame) ? win.__zone_symbol__requestAnimationFrame(h) : requestAnimationFrame(h);
|
||||
};
|
||||
|
||||
export function proxyMethod(ctrlName: string, doc: Document, methodName: string, ...args: any[]) {
|
||||
const controller = ensureElementInBody(ctrlName, doc);
|
||||
return controller.componentOnReady()
|
||||
|
Reference in New Issue
Block a user