Download the PHP package davidmars/pov-2018 without Composer
On this page you can find all versions of the php package davidmars/pov-2018. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davidmars/pov-2018
More information about davidmars/pov-2018
Files in davidmars/pov-2018
Package pov-2018
Short Description Encore un autre framework PHP orienté MVC
License
Informations about the package pov-2018
pov-2018
work in progress
pov.jquery.more
POV only
Méthodes dépendantes du framework PHP
$(element).povRefresh(cb);
Permet de rafraichir le code html d'un élément.
L'attribut data-pov-v-path
est obligatoire, il permet de savoir quelle vue charger.
L'attribut data-pov-v-uid
est optionel, il permet d'envoyer le paramètre uid
qui sera réceptionné par la controlleur PHP PovApi/getView
.
Attention Si l'élément qu'on souhaite rafraichir a un champ texte et que cet élément a le focus, alors le template ne sera rafraichit qu'une fois le focus retiré. Cette règle ergonomique évite qu'un utilisateur ne perde le focus quand il saisit du texte.
Utilitaires
Méthodes sans icidences directes sur le framework.
$(element).removeClassPrefix('color-')
Per met de supprimer toutes les classes css qui commencenet par "color-"
$(element).isInViewport() Savoir si un $element est visible dans l'écran
Pratique pour optimiser les grosses interfaces DOM
Exemple concrêt
Les exemples de codes suivants permettent de masquer les éléments DOM .visible-in-viewport
HTML
Less CSS
Javascript
All versions of pov-2018 with dependencies
mobiledetect/mobiledetectlib Version ^2.8
jenssegers/agent Version ^2.6
intervention/image Version ^2.4