-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwebcomponents.html
More file actions
103 lines (89 loc) · 3.93 KB
/
webcomponents.html
File metadata and controls
103 lines (89 loc) · 3.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, shrink-to-fit=no, initial-scale=1">
<meta name="description" content="Circuit Developer Community - Web Components Examples">
<meta name="author" content="Roger Urscheler">
<link rel="shortcut icon" type="image/png" href="images/wc.img" />
<title>Circuit API Web Components Examples</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script>
if (window.location.host == 'circuit.github.io' && window.location.protocol != 'https:') {
window.location.protocol = 'https:';
}
</script>
</head>
<body>
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper"></div>
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1>Circuit Web Components</h1>
<p>Enhance your website with Circuit features such as making video calls without any code. Just include the
desired web component module and the Circuit JS SDK and use the element.</p>
<a href="https://github.com/circuit/circuit-web-components/" target="_blank" rel="nofollow"><img src="https://img.shields.io/badge/github-beta-brightgreen.svg?style=flat" alt="beta" style="max-width:100%;"></a>
<a href="https://www.npmjs.com/package/@unify/circuit-web-components" target="_blank" rel="nofollow"><img src="https://camo.githubusercontent.com/9e9e962e3dd15ea5ab11b5f1a15a4c15f0b15c49/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40756e6966792f636972637569742d7765622d636f6d706f6e656e74732e7376673f7374796c653d666c6174" alt="NPM Version" data-canonical-src="https://img.shields.io/npm/v/@unify/circuit-web-components.svg?style=flat" style="max-width:100%;"></a>
<br><br>
<a href="https://github.com/circuit/circuit-web-components/tree/master/docs" target="_blank" class="btn btn-default">Documentation</a>
<a href="https://raw.githack.com/circuit/circuit-web-components/master/examples/index.html" target="_blank" class="btn btn-default">Live Examples</a><br><br>
<p>Example <code>circuit-call-button</code>:</p>
<pre class="prettyprint">
<html>
<head>
<script type="module" src="//unpkg.com/@unify/circuit-web-components/circuit-call-button.js" defer></script>
<script src="//unpkg.com/circuit-sdk" async></script>
<style>
/* Hide button until defined to prevent flash rendering */
circuit-call-button:not(:defined) {
opacity: 0;
}
circuit-call-button[inprogress] {
background: firebrick;
}
</style>
</head>
<body>
<circuit-call-button
clientId="f76ea1b2789946c9b88b008c682c132a"
target="helpdesk@company.com">Call Helpdesk</circuit-call-button>
</body>
</html>
</pre>
</div>
</div>
</div>
</div>
</div>
<!-- /#wrapper -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<script>
$(function () {
$("#sidebar-wrapper").load("/sidebar.html");
});
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-67318539-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>