projects / org / ezecosystem / hybrid-platform-ui-core-com...
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
hybrid-platform-ui-core-components | eZ Ecosystem | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Provides the following custom elements used in the Hybrid Platform UI:
In addition, this package provides a class expression mixin to add support for
tabs based on a specific markup. To use that expression mixin, you can write
something like:
With that, the tabs markup will be automatically recognized. ez-tabs.html also
provides the base CSS code so that the tabs visually behave as tabs. So with the
following code:
You should see 2 tabs and should be able to switch from one to the other.
System requirements:
$ npm install
$ bower install
$ npm run test-local
This will executes unit tests in local browsers.
To keep the test browsers open (and keep the test web server alive), you can add
the -p option:
$ npm run test-local -- -p
First, create an account at https://saucelabs.com/ (It's free for Open Source
projects).
Then run the following commands:
$ export SAUCE_USERNAME="your_sauce_labs_username"
$ export SAUCE_ACCESS_KEY="your_sauce_labs_key"
$ npm run test-sauce
The unit tests should be run using the Sauce Labs infrastructure. Targeted
platforms/browsers are defined in wct.conf.json.
$ npm run lint
$ npm run serve
This will run a local web server to serve the demo. After running that command,
it should display the URL to reach the demo.
Alternatively, you can execute:
$ npm run serve -- -o
to open the index page in the default browser.