en:slam4:php:phalcon:jquery:bootstrap

Différences

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

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
en:slam4:php:phalcon:jquery:bootstrap [2015/03/30 02:39] jcheronen:slam4:php:phalcon:jquery:bootstrap [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1
Ligne 7: Ligne 7:
 ==== -- Service injection ==== ==== -- Service injection ====
  
 +It is necessary to inject the JQuery service at application startup, and instantiate Bootstrap:
 +
 +<sxh php;title:services.php;highlight:[3]>
 +$di->set("jquery",function(){
 + $jquery= new JsUtils(array("driver"=>"Jquery"));
 + $jquery->bootstrap(new Bootstrap());//for Twitter Bootstrap
 + return $jquery;
 +});
 +</sxh>
 +
 +==== -- js and css files inclusion ====
  
 //To continue //To continue
  • en/slam4/php/phalcon/jquery/bootstrap.1427675949.txt.gz
  • Dernière modification : il y a 6 ans
  • (modification externe)