1.4.1 • Published 3 years ago

@thinkific/app-frames-remote v1.4.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

@thinkific/apps-frames-remote

Getting started

CDN install

<script type="module">
  import { toast } from 'https://cdn.thinkific.com/assets/app-frames/remote/latest/index.js';
</script>

Local install

npm install @thinkific/app-frames-remote

OR

yarn add @thinkific/app-frames-remote

Usage

Toast

/**
enum ToastVariant {
  ALERT = 'alert',
  INFO = 'info',
  NOTICE = 'notice',
  WARNING = 'warning',
}

interface ToastOptions {
  closable: boolean;
  duration: number;
  message: string;
  variant: ToastVariant;
}

interface ToastEvent {
  action: string;
  option: ToastOptions;
  sender: string;
}
**/

import { toast } from '@thinkific/app-frames-remote';

toast(data: ToastEvent, receiver: string);
1.4.1

3 years ago

1.2.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago