Objx Plugins
This page contains a description of all Objx plugins available in this project - to use these plugins see the getting started guide.
DOWNLOAD: Browse the Plugin source directory to get the plugins.
Pick a category to view associated plugins:
Collections
Plugins that work on arrays and other iterable objects.
- append - Adds one thing to another
- collect - Collects items from an array based on a decider function
- compact - Removes null items from an array
- contains - Checks whether an object contains another
- each - Iterates over every item in a collection
- first - Gets the first item
- group - Groups items based on specified rules
- insert - Inserts an item (or set of items) into another
- indexOf - Gets the index in a collection where the specified object appears
- last - Gets the last item
- modify - Replaces each item in an array with another
- prepend - Adds items to the start of another
- reject - (in select.js) Rejects items from a collection based on a decider
- reverse - Reverses an object
- select - Selects items from a collection based on a decider
- subtract - Subtracts one collection from another
- sort - Sorts a collection
- unique - Gets the unique items in a collection
Math
Plugins that work on arrays of numbers.
- max - Gets the biggest number in a collection of numbers
- min - Gets the smallest number in a collection of numbers
- mean - Gets the mean average of a collection of numbers
- sum - Gets the sum of a collection of numbers
OO
Plugins providing Object Oriented JavaScript capabilities.
- clone - Makes a copy of an object or array
- OClass - Defines an OO class
- OEnum - Define an OO enum class
- OEvent - Adds a powerful eventing model to an object
- OInterface - Provides OO Interface design patterns
- OList - Provides an OO collection object
- OProperty - Adds encapsulated properties to an object
Work
Plugins for managing work.
How to use a plugin
- Include the relevant file
- Make direct calls to static methods, or call instance methods on the objx(...) object
- See also: Writing your own plugins