--- { "title": "Zebra Striping", "language": "en", "category": "Plugins", "categoryfile": "plugins", "description": "Zebra Striping for table", "altLangPrefix": "zebra", "dateModified": "2014-08-04" } ---
The striped rows functionality is provided from Twitter Bootstrap CSS
Style special relationship between cell, vector (row/col) and group (tbody/colgroup). It also simulate a column hovering effect for table.
English:
French:
<table class="wb-zebra">
<table class="wb-zebra hassum">
<table class="wb-zebra wb-zebra-col-hover">
There is no customizable configuration options.
Document the public events that can be used by implementers or developers.
| Event | Trigger | What it does |
|---|---|---|
wb-init.wb- |
Triggered manually (e.g., $( ".wb-zebra" ).trigger( "wb-init.wb-zebra" );). |
Load table parser dependency and initiate the complex table parsing. |
wb-ready.wb-zebra (v4.0.5+) |
Triggered automatically after the Zebra plugin initializes. | Used to identify where the Zebra plugin initialized (target of the event)
|
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.
|
passiveparse.wb-tableparser |
When the zebra plugin initiate the complex table parsing. | It will parse the data table and attach the information to a data attribute named "tblparser" on every elements inside and on to the table elements. |
parsecomplete.wb-tableparser |
When the table parser has completed his parsing. | It's means that the "tblparser" data attribute is now ready to be use. |