Skip to content

Add a convenience dom/replace function #8

Closed
wants to merge 3 commits into from

1 participant

@pyr
pyr commented Sep 27, 2011

This makes handling "pages" much easier, by doing:

(pe/on some-link :click
       (fn [me e]
         (dom/replace (dom/query "section#some-section") (some-partial))))
Pierre-Yves ... added some commits Sep 27, 2011
Pierre-Yves Ritschard Add a convenience replace function 185c1f0
Pierre-Yves Ritschard Add a toggle class function 798f1d0
Pierre-Yves Ritschard typo cb590d1
@pyr pyr closed this Dec 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.