Represents a visual filter or transition defined by the filter style property.
The value of the filter style property is a space-delimited list of filters. This list is accessible through the filters collection. The elements of the filters collection are filter objects. Every filter object represents a filter (such as 'Alpha', 'Blur', 'Slide', etc.) and supports different properties and methods dependening on the type of the filter.
- The filter object is useful to manipulate a previously defined filter.
- If you want to add or remove a filter, use the filter property.
This example shows how to create a new filter:
This example shows how to manipulate a filter with the filter property:
This example shows how to manipulate the value of a filter through the filters collection and filter object:
User Contributed Comments