5.0.3 • Published 2 years ago

@apollo-elements/polymer v5.0.3

Weekly downloads
12
License
ISC
Repository
github
Last release
2 years ago

@apollo-elements/polymer

Published on npm Published on webcomponents.org ISC License Release

🚀 Custom Elements with Polymer-style two-way binding from your Apollo cache 🌜

👩‍🚀 For developing with space-age Polymers 👨‍🚀

🔎 Read the Full API Docs 🔎

📓 Contents

🔧 Installation

apollo-elements are distributed through npm the node package manager. To install a copy of the latest version of these elements in your project's node_modules directory, first Install npm on your system, then run the following command in your project's root directory:

npm install --save @apollo-elements/polymer

@apollo-elements/polymer does not depend on @polymer/polymer. The components extend directly from HTMLElement, so they're suitable for use in any project, not just Polymer library apps.

👩‍🚀 Usage

See our docs on setting up Apollo client so your components can fetch their data.

Import the elements.

import '@apollo-elements/polymer/polymer-apollo-query';
import '@apollo-elements/polymer/polymer-apollo-mutation';

You can now use them in your polymer template:

<polymer-apollo-query
    data="{{data}}"
    variables="[[variables]]"
    query="[[UserQuery]]"
></polymer-apollo-query>

<paper-icon-item>
  <iron-image slot="item-icon">[[data.user.picture]]</iron-image>
  [[data.user.name]]
</paper-icon-item>

📚 Other Libraries

Looking for other libraries? Want to use Apollo with vanilla extends HTMLElement components? Check out our docs site

👷‍♂️ Maintainers

apollo-elements is a community project maintained by Benny Powers.

Contact me on Codementor

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.0.1-next.0

3 years ago

4.0.0

3 years ago

4.0.0-next.5

3 years ago

4.0.0-next.4

3 years ago

4.0.0-next.3

3 years ago

4.0.0-next.2

3 years ago

4.0.0-next.1

3 years ago

4.0.0-next.0

3 years ago

3.4.0-alpha.0

3 years ago

3.4.0

3 years ago

3.3.3

3 years ago

3.3.2

3 years ago

3.3.1

3 years ago

3.3.0

3 years ago

3.3.0-alpha.2

3 years ago

3.3.0-alpha.1

3 years ago

3.3.0-alpha.0

3 years ago

3.2.0

3 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.4

4 years ago

3.0.5

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0-alpha.11

4 years ago

3.0.0

4 years ago

3.0.0-alpha.10

4 years ago

3.0.0-alpha.9

4 years ago

3.0.0-alpha.8

4 years ago

3.0.0-alpha.7

4 years ago

3.0.0-alpha.5

4 years ago

3.0.0-alpha.4

4 years ago

3.0.0-alpha.3

4 years ago

3.0.0-alpha.1

4 years ago

3.0.0-alpha.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago