Documentation
Usage

Usage

Elixir Cloud components are custom HTML elements designed for seamless integration and use, much like standard HTML elements. Each component is accompanied by detailed documentation that outlines its complete API, including properties, events, methods, and more.

While ECC components are designed to be platform-agnostic which can be used in any web framework or platform that supports vanilla HTML/JavaScript by using HTML web components. It provides the out of box React components for easy integration with React applications.

Here are basic examples of how to use ECC components in different environments:

import React from 'react';
import { ECCClientGa4ghWesRuns } from '@elixir-cloud/wes/dist/react/runs/index';
 
function App() {
  return (
    <div>
      <h1>WES Runs</h1>
      <ECCClientGa4ghWesRuns baseURL="https://your-wes-endpoint.com" />
    </div>
  );
}
 
export default App;

Note that this example uses the @elixir-cloud/wes package. Refer to the specific service documentation for the correct package name and usage. You can find the list of available services in the Supported Services section.

Elixir Cloud & AAICloud SDKElixir

Released under Apache 2.0 License.

Copyright © 2023-2024 ELIXIR