1.14.0 • Published 8 months ago

@microsoft/fast-element v1.14.0

Weekly downloads
1,552
License
MIT
Repository
github
Last release
8 months ago

FAST Element

License: MIT npm version

The fast-element library is a lightweight means to easily build performant, memory-efficient, standards-compliant Web Components. FAST Elements work in every major browser and can be used in combination with any front-end framework or even without a framework.

Installation

From NPM

To install the fast-element library, use either npm or yarn as follows:

npm install --save @microsoft/fast-element
yarn add @microsoft/fast-element

Within your JavaScript or TypeScript code, you can then import library APIs like this:

import { FASTElement } from '@microsoft/fast-element';

:::tip Looking for a setup that integrates with a particular front-end framework or bundler? Check out our integration docs. :::

From CDN

A pre-bundled script that contains all APIs needed to build web components with FAST Element is available on CDN. You can use this script by adding type="module" to the script element and then importing from the CDN.

<!DOCTYPE html>
<html lang="en">
    <head>
        <script type="module">
          import { FASTElement } from "https://cdn.jsdelivr.net/npm/@microsoft/fast-element/dist/fast-element.min.js";

          // your code here
        </script>
    </head>
    <!-- ... -->
</html>

The markup above always references the latest release. When deploying to production, you will want to ship with a specific version. Here's an example of the markup for that:

<script type="module" src="https://cdn.jsdelivr.net/npm/@microsoft/fast-element@1.6.2/dist/fast-element.min.js"></script>

:::note For simplicity, examples throughout the documentation will assume the library has been installed from NPM, but you can always replace the import location with the CDN URL. :::

:::tip Looking for a quick guide on building components? Check out our Cheat Sheet. :::

pnp-modern-search-core@command.digital/formation@command.digital/foundation-ui@microsoft/vscode-webview-ui-toolkit@everything-registry/sub-chunk-602ecc-client-ga4gh-tes-anuragmy-fast-elementweb-component-starter-fasttesting_fluovivid@divriots/starter-furious@command.digital/formation-ui@rss-eng/fabric-elementsjia-design-to-code-reactecc-client-ga4gh-tes-jaejae-tesfast-jae-aeich@ni/spright-components-armstrong@ni/spright-components-core@ni/spright-components-stratus@apollo-elements/fast@azure/video-analyzer-widgets@backlight-dev/wygin.furious-li5sak92@backlight-dev/another-one.furious-kwnnsfs2@backlight-dev/another-one.starter-furious-fork-kt05pkjj@backlight-dev/clementh.worker-admit-4kp25.furious-l76c3o4d@adaptive-web/adaptive-ui@adaptive-web/adaptive-web-components@jupyter-notebook/web-components@jupyter/web-components@ecos/ecos-design-system@hackgt/fluo@horizon-msft/web-components@horizon-msft/copilot-web-components@genesislcap/foundation-entity-management@genesislcap/foundation-events@genesislcap/foundation-fdc3@geometryzen/fast-element@genesislcap/foundation-filters@genesislcap/foundation-forms@genesislcap/foundation-header@genesislcap/foundation-i18n@genesislcap/foundation-cli@genesislcap/foundation-comms@genesislcap/foundation-criteria@genesislcap/grid-next@genesislcap/grid-pro@genesislcap/grid-tabulator@genesislcap/foundation-zero-grid-pro@genesislcap/foundation-zero-grid-tabulator@genesislcap/g2plot-chart@genesislcap/rapid-design-system@genesislcap/rapid-grid-pro@genesislcap/web-core@genesislcap/foundation-state-machine@genesislcap/foundation-store@genesislcap/foundation-system-health-alerts@genesislcap/foundation-inbox@genesislcap/foundation-layout@genesislcap/design-system-configurator@genesislcap/documentation-components@genesislcap/foundation-login@genesislcap/foundation-notification-dashboard@genesislcap/foundation-openfin@genesislcap/alpha-design-system@genesislcap/foundation-testing@genesislcap/foundation-ui@genesislcap/foundation-user@genesislcap/foundation-utils@genesislcap/foundation-zero@genesislcap/foundation-zero-grid-next@genesislcap/foundation-alerts@genesislcap/foundation-auth@genesislcap/foundation-broadcast-channel@genesislcap/foundation-progress-overlay@genesislcap/foundation-reporting@genesislcap/foundation-services-status@genesislcap/foundation-settings@infinitebrahmanuniverse/nolb-_micros@lithium-framework/state@ltmp/components@isalvaus/web-components@lithium-framework/core@m4thieulavoie/design-system@microsoft/fast-components@microsoft/fast-components-msft@microsoft/fast-react-wrapper@microsoft/fast-router@microsoft/fast-tooling@microsoft/fast-tooling-react@microsoft/fast-foundation@microsoft/cfp-template@neu-ui/web-components@neutron-ui/fast-preview@neutron-ui/playground@ni/nimble-components@ni/spright-components@fabric-msft/fabric-web@kingoftac/frame@rws-framework/client
1.14.0

8 months ago

2.0.0

10 months ago

1.13.0

1 year ago

2.0.0-beta.26

2 years ago

2.0.0-beta.25

2 years ago

1.12.0

2 years ago

2.0.0-beta.24

2 years ago

2.0.0-beta.22

2 years ago

2.0.0-beta.23

2 years ago

1.11.1

2 years ago

2.0.0-beta.21

2 years ago

2.0.0-beta.20

2 years ago

2.0.0-beta.19

3 years ago

2.0.0-beta.18

3 years ago

2.0.0-beta.11

3 years ago

2.0.0-beta.10

3 years ago

2.0.0-beta.15

3 years ago

2.0.0-beta.14

3 years ago

2.0.0-beta.13

3 years ago

2.0.0-beta.12

3 years ago

1.11.0

3 years ago

2.0.0-beta.17

3 years ago

2.0.0-beta.16

3 years ago

2.0.0-beta.9

3 years ago

2.0.0-beta.8

3 years ago

2.0.0-beta.7

3 years ago

2.0.0-beta.6

3 years ago

1.10.5

3 years ago

1.10.4

3 years ago

1.10.3

3 years ago

2.0.0-beta.2

3 years ago

2.0.0-beta.5

3 years ago

2.0.0-beta.4

3 years ago

2.0.0-beta.3

3 years ago

1.10.2

3 years ago

2.0.0-beta.1

3 years ago

1.10.1

3 years ago

1.9.0

3 years ago

1.10.0

3 years ago

1.8.0

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.2

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.1

4 years ago

1.4.2

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.22.2

4 years ago

0.22.1

4 years ago

0.22.0

4 years ago

0.21.1

4 years ago

0.21.0

5 years ago

0.20.0

5 years ago

0.19.1

5 years ago

0.19.0

5 years ago

0.18.0

5 years ago

0.17.0

5 years ago

0.16.0

5 years ago

0.15.2

5 years ago

0.15.1

5 years ago

0.15.0

5 years ago

0.14.0

5 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.1

5 years ago

0.10.2

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago