Skip to content

Examples

Greg Bowler edited this page Jun 2, 2026 · 2 revisions

The examples directory is the practical companion to this guide. Each page exists to demonstrate a specific Flux behaviour in a real browser.

Example list

Browser tests

The Behat features mirror those examples closely:

These tests are especially useful when we want to confirm the intended behaviour of a directive before changing the library.

Running the suites

npm test
composer behat

The unit tests cover the JavaScript classes directly, while the Behat suite verifies that the examples behave correctly in a browser.


Next up

If we want the full directive list in one place, finish with List of flux attributes. Otherwise, head back to Home and follow the guide again from the beginning.

Clone this wiki locally