-
Notifications
You must be signed in to change notification settings - Fork 804
The Wonder of Q
Victor Tomaili edited this page May 3, 2021
·
1 revision
Splitted the cheat sheet of Wesley Huang into more specific parts for easier finding the topics.
Q is a powerful little tool in the .ts side. Definitely worth looking into it's features. Learn it, Love It, Use it.
Examples:
- Q.isEmptyOrNull() - checks if the given item is empty and returns a boolean
- Q.first() - Returns the first item from a array list that matches the given filter.
- Q.count() - counts number of items in array
- Q.reloadLookup() - reloads the lookup script on the client side
- Q.getLookup() - Gets the Lookup for a given key.
- Q.notifyWarning() [or Success/Info/Error] - Creates Toast notification alert.
Copyright © Serenity Platform 2017-present. All rights reserved.
Documentation | Serene Template | Live Demo | Premium Support | Issues | Discussions