CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 17:38:38 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=a094b1b2a1e19261c8d306231c9a1d7db7355f0092b73ad2a9871363f5427092a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22YlGduN2UUfFOANYsZu7wOwQkRYFjkSz5%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d021daffe6a403-BLR
re-frame animation - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (re-frame/reg-event-db
- ::set-slide-window
- [re-frame/trim-v]
- (fn [db [show? template]]
- (assoc db :slide-template {:show? show?
- :template template})))
- (defn slide-panel
- []
- (let [left-position-template (re-frame/subscribe [::subs/left-position-slide-panel])
- menu-panel-width (re-frame/subscribe [::subs/menu-panel-width])
- slide-panel-template (re-frame/subscribe [::subs/slide-panel-template])]
- (fn []
- [:div#menu-backdrop
- {:style {:left @left-position-template}
- :on-click #(if (= (.-currentTarget %) (.-target %))
- (re-frame/dispatch [::common-events/set-slide-window false nil])
- false)}
- [:div#slide-panel
- {:style {:left @left-position-template
- :width @menu-panel-width}}
- (case @slide-panel-template
- :menu [menu-view/menu-view]
- :dish [dish/dish]
- [:h1 "Нет шаблона"])]])))
- (defn new-sale-receipt
- []
- ...
- [:button.add-dish
- {:on-click #(re-frame/dispatch [::common-events/set-slide-window true :menu])} ; <-- Invoke slide-meny animation
- "Б+"]
- ...)
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 2 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 11 sec ago | 0.24 KB
-
⭐⭐⭐ChangeNOW Exploit⭐⭐
Java | 19 sec ago | 0.10 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 20 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 29 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 38 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 47 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 56 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand