2.4.1 • Published 5 months ago

@microsoft/fast-element v2.4.1

Weekly downloads
1,552
License
MIT
Repository
github
Last release
5 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 latest fast-element library using npm:

npm install --save @microsoft/fast-element

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

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

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@rss-eng/fabric-elementsjia-design-to-code-reactlottie-interactive@wcd/jstnjs.fast-l1hkr74f@vonage/vwc-breadcrumb@vonage/vwc-breadcrumb-item@wcd/p1p3.fast-khbytdpk@topheruk/components@trans-stat/auth-components@vonage/vivid@vscode/webview-ui-toolkit@uvalib/site-components@zalastax/nolb-_microsaxe-browser-reporter@azure/video-analyzer-widgets@hackgt/fluo@adaptive-web/adaptive-ui@adaptive-web/adaptive-web-components@ecos/ecos-design-system@command.digital/formation-uiecc-client-ga4gh-tes-jaejae-tesfast-jae-aeich@ni/spright-components-armstrong@ni/spright-components-core@ni/spright-components-stratus@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@infinitebrahmanuniverse/nolb-_micros@lithium-framework/state@lithium-framework/core@neu-ui/web-components@neutron-ui/fast-preview@neutron-ui/playground@ni/nimble-components@ni/spright-components@rws-framework/client@pnp/modern-search-coremst-fluentmy-fast-compsmy-jae-elementmst-team-cmpmono-fast-routerpay2my.appoverhide-widgetsreact-enmedd-componentsrws-js-clientrenee-design-to-code-reactconway-simulation2cytoscape-rdfdesign-to-codedesign-to-code-reactenmedd-components-testenmedd-design-system-testenmedd-design-tokensenmedd-design-tokens-testenmedd-testerervin-testerfast-element-context@fabric-msft/fabric-web@m4thieulavoie/design-system@apollo-elements/fast@divriots/starter-furious@microsoft/cfp-template@microsoft/fast-components@microsoft/fast-components-msft@microsoft/fast-foundation@microsoft/fast-react-wrapper@microsoft/fast-tooling@microsoft/fast-tooling-react@genesislcap/foundation-cli@genesislcap/foundation-comms@genesislcap/foundation-criteria@genesislcap/alpha-design-system@genesislcap/design-system-configurator@genesislcap/documentation-components@genesislcap/foundation-alerts@genesislcap/foundation-auth@genesislcap/foundation-broadcast-channel@genesislcap/foundation-forms@genesislcap/foundation-i18n@genesislcap/foundation-entity-management@genesislcap/foundation-events@genesislcap/foundation-fdc3@genesislcap/foundation-filters@geometryzen/fast-element@genesislcap/web-core@genesislcap/rapid-design-system
2.2.1

6 months ago

2.2.0

7 months ago

2.4.1

5 months ago

2.4.0

5 months ago

2.0.1

10 months ago

2.3.0

6 months ago

2.1.0

8 months ago

1.14.0

12 months ago

2.0.0

1 year ago

1.13.0

2 years 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

3 years ago

2.0.0-beta.23

3 years ago

1.11.1

3 years ago

2.0.0-beta.21

3 years ago

2.0.0-beta.20

3 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

4 years ago

1.10.0

3 years ago

1.8.0

4 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 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

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.22.2

5 years ago

0.22.1

5 years ago

0.22.0

5 years ago

0.21.1

5 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

6 years ago