Widgets Mòbil
-
Upload
office-of-learning-technologies-universitat-oberta-de-catalunya -
Category
Technology
-
view
1.101 -
download
4
description
Transcript of Widgets Mòbil
![Page 1: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/1.jpg)
Widgets Mòbil Raúl RomeroEines per a la Comunitat
![Page 2: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/2.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 1
Capçalera
Contingut
Anatomia Web d'un Widget
![Page 3: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/3.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 2
Anatomia Web d'un Widget
![Page 4: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/4.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 3
Programant un Widget
![Page 5: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/5.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 4
build_widget_content: Construeix el contingut HTML del Widget. Reescriure aquest mètode per crear el contingut del Widget.
has_preferences?: Reescriure aquest mètode perquè retorni false si es desitja que el widget no mostri la icona de preferències.
is_minimizable?: Reescriure aquest mètode perquè retorni false si es desitja que el widget no mostri la icona de minimitzar.
use_cache?: Reescriure aquest mètode perquè retorni false en cas que no es vulgui que el Widget utilitzi Cache.
get_title: Reescriure aquest mètode en cas de voler un títol diferent de l'estandard dels Widgets.
get_id: Reescriure aquest mètode si es vol un atribut id en el Widget.
...etc
·
·
·
·
·
··
Programant un Widget
![Page 6: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/6.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 5
Hello World!
![Page 7: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/7.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 6
Una mica més difícil ;)
![Page 8: Widgets Mòbil](https://reader036.fdocuments.in/reader036/viewer/2022082623/546d7c06b4af9f702c8b542a/html5/thumbnails/8.jpg)
Office of Learning Technologies · learningtechnologies.uoc.edu1UNIVERSITAT OBERTA DE CATALUNYA 7
Hi esteu interessats?
http://icommunity.blogs.uoc.edu/