slam4:php:phalcon:jquery:bootstrap

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

slam4:php:phalcon:jquery:bootstrap [2015/03/31 01:17] – [2.11- Modals] jcheronslam4:php:phalcon:jquery:bootstrap [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1
Ligne 470: Ligne 470:
 |< 100% >| |< 100% >|
 ^Classe |[[http://api.kobject.net/phalcon-jquery/class_ajax_1_1bootstrap_1_1html_1_1_html_splitbutton.html|HtmlSplitbutton]] | ^Classe |[[http://api.kobject.net/phalcon-jquery/class_ajax_1_1bootstrap_1_1html_1_1_html_splitbutton.html|HtmlSplitbutton]] |
-^Hérite  +^Hérite de |[[http://api.kobject.net/phalcon-jquery/class_ajax_1_1bootstrap_1_1html_1_1_html_dropdown.html|HtmlDropdown]] |
-de |[[http://api.kobject.net/phalcon-jquery/class_ajax_1_1bootstrap_1_1html_1_1_html_dropdown.html|HtmlDropdown]] |+
  
 === Exemple === === Exemple ===
Ligne 1021: Ligne 1020:
  $bs=$this->jquery->bootstrap();  $bs=$this->jquery->bootstrap();
  //Ajout de 2 boutons à l'instanciation   //Ajout de 2 boutons à l'instanciation 
- $modal=$bs->htmlModal("modal1","Titre du dialogue",array("Ajouter","Retirer"));+ $modal=$bs->htmlModal("modal1","Titre du dialogue","Contenu",array("Ajouter","Retirer"));
  //Ajout d'un bouton Annuler  //Ajout d'un bouton Annuler
  $modal->addCancelButton("Fermer");  $modal->addCancelButton("Fermer");
Ligne 1063: Ligne 1062:
  }  }
 </sxh> </sxh>
 +
 +{{:slam4:php:phalcon:jquery:modalbuttons.png?nolink|}}
  • slam4/php/phalcon/jquery/bootstrap.1427757471.txt.gz
  • Dernière modification : il y a 6 ans
  • (modification externe)