Guest User

Untitled

a guest
Mar 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. <StackLayout orientation="vertical" class="sl-opciones segoeL bold">
  2. <Label text="Llamar dialog 2" class="odd" (tap)="ir('dialog')"></Label></StackLayout>
  3.  
  4. async ir(evts) {
  5. if(evts === "notificaciones"){
  6. console.log('entré en notificaciones');
  7. let opciones: ModalDialogOptions = {
  8. fullscreen: true,
  9. viewContainerRef: this.viewContainerRef
  10. }
  11. let seleccion = await this.modalService.showModal(modalDialog2, opciones);
  12. }
  13. }
  14.  
  15. <GridLayout columns="*" rows="2*,4*,6*" width="auto" height="350">
  16. <StackLayout orientation="horizontal" row="0" class="gl-head droidSans-Bold">
  17.  
  18.  
  19. <StackLayout orientation="vertical" row="1" class="sl-body segoeL bold">
  20. <label textWrap="true" text="Ejemplo de modal 2" class=""></label>
  21. </StackLayout>
  22.  
  23. <StackLayout orientation="vertical" row="2" class="segoeL bold">
  24. <GridLayout (tap)="close()" columns="*" width="250" height="45" horizontalAlignment="center" class="btn-group">
  25. <Label text="Si" col="0" class="btn-group-2_2 droidSans-Bold"></Label>
  26. </GridLayout>
  27.  
  28. <GridLayout (tap)="close()" columns="*" width="250" height="45" horizontalAlignment="center" class="btn-group">
  29. <Label text="No" col="0" class="btn-group-2_2 droidSans-Bold"></Label>
  30. </GridLayout>
  31. </StackLayout>
  32.  
  33. TypeError: Cannot read propoerty 'android' of undefined
Add Comment
Please, Sign In to add comment