ratchet-bootstrap

TWBS Ratchet - How to close modal manually?

最后都变了- 提交于 2020-01-05 10:38:47
问题 I'm building a mobile web app with Ratchet. What I have to do is open a modal, fill a form, press a button then save and close the modal. I'm able to close a modal with it's documented button, and I'm also able to save the form field...but how to do those things together? In Ratchet's documentation it's not explained how to close a modal manually using JavaScript. I'm using Ratchet with AngularJS, so the button calls an Angular function in which I should close the modal. 回答1: Ok, finally I

how to enable push.js ajax content loader with ratchet

亡梦爱人 提交于 2019-12-09 09:23:30
问题 i am trying to implement the push.js engine from ratchet: http://maker.github.com/ratchet/#push i downloaded the ratchet files from here: http://maker.github.com/ratchet/ratchet.zip and am using apache to serve all js, css and html. all files are in the same directory. here is my one.html file: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ratchet template page</title> <!-- Sets initial viewport load and disables zooming --> <meta name="viewport" content="initial-scale=1,

Execute custom script after page loaded with Ratchet\Push.js

痴心易碎 提交于 2019-12-07 01:55:16
问题 So on the GitHub documentation for Ratchet 2.0.2 I found the following statement. Script tags containing JavaScript will not be executed on pages that are loaded with push.js. If you would like to attach event handlers to elements on other pages, document-level event delegation is a common solution. Can someone please spell out exactly how to get a custom <script> to execute after being loaded by Push.js ? On my first page, I have a Table view, with several links to other pages, one of them

Execute custom script after page loaded with Ratchet\\Push.js

杀马特。学长 韩版系。学妹 提交于 2019-12-05 05:00:48
So on the GitHub documentation for Ratchet 2.0.2 I found the following statement. Script tags containing JavaScript will not be executed on pages that are loaded with push.js. If you would like to attach event handlers to elements on other pages, document-level event delegation is a common solution. Can someone please spell out exactly how to get a custom <script> to execute after being loaded by Push.js ? On my first page, I have a Table view, with several links to other pages, one of them being a link to a second page with a Twitter Feed widget on it. <li class="table-view-cell media"> <a

how to enable push.js ajax content loader with ratchet

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 12:15:06
i am trying to implement the push.js engine from ratchet: http://maker.github.com/ratchet/#push i downloaded the ratchet files from here: http://maker.github.com/ratchet/ratchet.zip and am using apache to serve all js, css and html. all files are in the same directory. here is my one.html file: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ratchet template page</title> <!-- Sets initial viewport load and disables zooming --> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> <!-- Include the compiled Ratchet CSS --> <link rel="stylesheet" href=