Re: [ANN] om-bootstrap 0.2.6 released

2014-09-21 Thread Rostislav Svoboda
Thank you Daniel. IDidMount/did-mount works for me. BTW good om lifecycle explanation can be found here: http://josf.info/blog/2014/09/18/first-ompressions-a-conceptual-look-at-om/ On 18 September 2014 10:18, Daniel Kersten wrote: > > Forgot to add: IDidMount/did-mount only gets called after mou

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-18 Thread Daniel Kersten
Forgot to add: IDidMount/did-mount only gets called after mounting. If you want to run code after later renders you can use IDidUpdate. On 18 Sep 2014 09:16, "Daniel Kersten" wrote: > In Om, a good place to put things that need render to have been called is > in IDidMount. You can get the DOM no

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-18 Thread Daniel Kersten
In Om, a good place to put things that need render to have been called is in IDidMount. You can get the DOM node for your component with (om/get-node owner) or (om/get-node owner ref) if you want a sprcific node with a :ref attribute set. On 17 Sep 2014 22:06, "Rostislav Svoboda" wrote: > Concern

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-17 Thread Rostislav Svoboda
Concerning sortable tables, at the moment I do following (don't laugh): cp https://github.com/google/closure-library/blob/master/closure/goog/ui/ tablesorter.js resources/public/js/out/goog/ui/ index.html: ... http://fb.me/react-0.11.1.js";>

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-17 Thread Daniel
I could have said that in a slightly less vitriolic way. Apologies. On Tuesday, September 16, 2014 8:45:37 AM UTC-5, Sam Ritchie wrote: > > I fully agree that with more features, the library would be useful to a > larger range of folks :) Pull requests welcome, as always. > > I'm developing each

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-16 Thread Lucas Bradstreet
Bootstrap doesn't have tables with functionality like that and is used on a *lot* of sites, so it's hardly of little use. If you need a sortable table, you could write an om wrapper around https://github.com/glittershark/reactable I may give this a try soon myself. Lucas > On 16 Sep 2014, at

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-16 Thread Sam Ritchie
I fully agree that with more features, the library would be useful to a larger range of folks :) Pull requests welcome, as always. I'm developing each component as needed as I convert paddleguru.com over to Om. The input components and basic tables, panels, buttons and navbars came first; the

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-16 Thread Daniel
Good work. Although I hate to say it, It's of little use for most projects without more out-of-the-box table options eg searchable, sortable, paginated, never-ending. On Wednesday, August 27, 2014 2:05:27 PM UTC-5, Sam Ritchie wrote: > > This release adds a bunch of new active components - not

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-15 Thread Sam Ritchie
FYI, I added a nice "Getting Started" page to the Om-Bootstrap documentation site that should help users get past the initial pain of cobbling together the proper leiningen dependencies, Bootstrap CDN header links and lein-cljsbuild settings: http://om-bootstrap.herokuapp.com/getting-started

[ANN] om-bootstrap 0.2.6 released

2014-08-27 Thread Sam Ritchie
This release adds a bunch of new active components - notably, dropdown buttons, split dropdown buttons and a navbar. The navbar allowed me to beef up the doc site with a proper navbar, more pages and client-side javascript navigation using Secretary and Html5 pushState: http://om-bootstrap.her