@ks-web-components/ks-graphql-subscription-adapter
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ks-graphql-subscription-adapter

This component subscribes to a GraphQL query and performs OnDataChange events to it's ancestors for the data lifecycle events

npm npm bundle size

Usage

npm install @ks-web-components/ks-graphql-subscription-adapter

Live Example


Attributes

Property Attribute Type Default Description
activeFilters active-filters object The filters to apply to the data
clientUrl client-url string The URL to use for the GraphQL client
headers headers object The headers to pass to the graphql server
queryString query-string string The query to be performed against the client URL

Slots

Name Description
default slot The content of the component

Element API

Name Description
updateData Refresh the content of the component

Events

Name type Description
onDataChange Event The data from the adapter change

<style> table { width: 100%; } </style>

Readme

Keywords

none

Package Sidebar

Install

npm i @ks-web-components/ks-graphql-subscription-adapter

Weekly Downloads

30

Version

1.0.0

License

none

Unpacked Size

9.41 kB

Total Files

7

Last publish

Collaborators

  • kleeen_devops