Skip to content

Commit

Permalink
[simple-v-table] Add title tooltip to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Jul 15, 2024
1 parent 4e3b1d8 commit f5e95ff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/re_demo/simple_v_table_sales.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@
how-many? (reagent/atom false)
how-many (reagent/atom 100)
spacing (px 12)
spacing7 (px 7)
email-row-label-fn (fn [row] [hyperlink-href :src (at) :label (:email row) :href (str "mailto:" (:email row))])
spacing7 (px 7)
email-row-label-fn (fn [row]
(let [value (:email row)]
[hyperlink-href {:src (at)
:attr {:title value}
:label value
:href (str "mailto:" value)}]))
method-row-label-fn (fn [row] (case (:method row) :online [devices-icon] [store-icon]))]
(fn []
[v-box
Expand Down

0 comments on commit f5e95ff

Please sign in to comment.