Equal height
Looking for WET v3.1?
As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the wet-boew-legacy repository.
Purpose
Equalises the height of elements that are on the same baseline.
Use when
- Elements of varying heights are displayed on the same baseline.
Do not use when
No known use cases when this plugin should not be used.
Working example
How to implement
- Add the class
wb-eqht
to the element that contains the elements for which you want the height to be equal.
Configuration options
There are no configuration options.
Events
Event | Trigger | What it does |
---|---|---|
wb-init.wb-eqht (v4.0.5+) |
Triggered manually (e.g., $( ".wb-eqht" ).trigger( "wb-init.wb-eqht" ); ). |
Used to manually initialize the Equal heights plugin. Note: The Equal heights plugin will be initialized automatically unless the required markup is added after the page has already loaded. |
wb-update.wb-eqht (v4.0.5+) |
Triggered manually (e.g., $( ".wb-eqht" ).trigger( "wb-update.wb-eqht" ); ). |
Used to manually trigger an update yo the height equalization. Note: The Equal heights plugin will be automatically update the height equalization on window, text and zoom resizes as well as DataTable draws. |
wb-ready.wb-eqht (v4.0.5+) |
Triggered automatically after the height equalization has been initialized. | Used to identify when height equalization was initialized
|
wb-updated.wb-eqht (v4.0.5+) |
Triggered automatically each time the height equalization is updated. | Used to identify when height equalization was updated
|
wb-ready.wb (v4.0.5+) |
Triggered automatically when WET has finished loading and executing. | Used to identify when all WET plugins and polyfills have finished loading and executing.
|
Source code
- Date modified: