1.0.0 • Published 2 years ago

@ks-web-components/ks-graphql-subscription-adapter v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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

PropertyAttributeTypeDefaultDescription
activeFiltersactive-filtersobjectThe filters to apply to the data
clientUrlclient-urlstringThe URL to use for the GraphQL client
headersheadersobjectThe headers to pass to the graphql server
queryStringquery-stringstringThe query to be performed against the client URL

Slots

NameDescription
default slotThe content of the component

Element API

NameDescription
updateDataRefresh the content of the component

Events

NametypeDescription
onDataChangeEventThe data from the adapter change
1.0.0

2 years ago

0.0.14

2 years ago

1.0.0-rc.1

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.0

2 years ago