微信小程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

16 righe
576 B

  1. /// <reference types="miniprogram-api-typings" />
  2. declare type TrivialInstance = WechatMiniprogram.Component.TrivialInstance;
  3. export declare function useParent(name: string, onEffect?: (this: TrivialInstance) => void): {
  4. relations: {
  5. [x: string]: WechatMiniprogram.Component.RelationOption;
  6. };
  7. mixin: string;
  8. };
  9. export declare function useChildren(name: string, onEffect?: (this: TrivialInstance, target: TrivialInstance) => void): {
  10. relations: {
  11. [x: string]: WechatMiniprogram.Component.RelationOption;
  12. };
  13. mixin: string;
  14. };
  15. export {};