Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Unanswered
← Scroll to the top of a template with JavaScript?

Hello, for your javascript needs I recommend checking out Tecton first. For this specific example:

tecton.actions.scrollToTop();

Should do it. See documentation here: https://cdn1.onlineaccess1.com/cdn/base/tecton/v1.14.3/Documentation/index.html#/capabilities/scrollToTop

Posted 4 years ago
Trey Teter
124 × 2 Administrator
0

Trey,

This does work if I use it as an onlick, but it does not work when I use it as an onload event. Any help?

— Tanner Yea   4 years ago
0

Actually, I found a work around

— Tanner Yea   4 years ago
29 Views
0 Answers
4 years ago
4 years ago