code stringlengths 24 2.07M | docstring stringlengths 25 85.3k | func_name stringlengths 1 92 | language stringclasses 1
value | repo stringlengths 5 64 | path stringlengths 4 172 | url stringlengths 44 218 | license stringclasses 7
values |
|---|---|---|---|---|---|---|---|
D = function (e) {
var t = e.className,
n = (0, r.Z)(e, O);
return (0, I.jsx)(N.Consumer, {
children: function (e) {
return (0, I.jsx)(
'div',
(0, i.Z)(
(0, i.Z)((0, i.Z)({}, n), e),
... | The handle can be any component you want | D | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
M = function () {
var e =
arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: {},
t = e.unbounded,
n = e.accent,
a = e.surface;
return function (e) {
var o = c.forwardRef(func... | The handle can be any component you want | M | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function l() {
return (0, s.jsxs)(r.WI, {
title: 'Ripples',
lead: 'MDC Ripple provides the JavaScript and CSS required to provide components (or any element at all) with a material \u201cink ripple\u201d interaction effect. It is designed to be efficient, uninvasive, and usable without... | The handle can be any component you want | l | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function u() {
return (0, c.jsxs)(a.WI, {
title: 'Select Menus',
lead: 'Menus display a list of choices on a transient sheet of material.',
module: '@rmwc/select',
styles: [
'@rmwc/select/select.css',
'@material/select/dist/mdc.select... | Any additional items will be passed to the\\n child ListItem as props | u | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
b = function (e, t) {
return (
(b =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | b | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function v(e, t) {
function n() {
this.constructor = e;
}
b(e, t),
(e.prototype =
null === t
? Object.create(t)
: ((n.prototype = t.prototype), new n()));
} | Any additional items will be passed to the\\n child ListItem as props | v | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
x = function () {
return (
(x =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | x | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n, r) {
void 0 === r && (r = {});
var i = e.call(this, x(x({}, t.defaultAdapter), n)) || this;
return (
(i.disabled = !1),
(i.isMenuOpen = !1),
(i.useDefaultValidation = !0),
(i.customValidity = !0),
... | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
P = function (e) {
var t,
n = (0, a.useState)(),
o = (0, m.Z)(n, 2),
s = o[0],
l = o[1],
c = (0, a.useState)(!1),
u = (0, m.Z)(c, 2),
d = u[0],
p = u[1],
f = (0, a.useState)(0),
... | Any additional items will be passed to the\\n child ListItem as props | P | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
o = function () {
return !r().enhanced;
} | Any additional items will be passed to the\\n child ListItem as props | o | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
e = function () {
var e, t;
return (
(o()
? Array.apply(
null,
null === (e = U.cur... | Any additional items will be passed to the\\n child ListItem as props | e | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
t = function (e) {
return (
e.getAttribute('data-value') ||
e.getAttribute('value') ||
''
);
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, x(x({}, t.defaultAdapter), n)) || this;
return (
(r.savedTabIndex_ = null),
(r.interactionHandler_ = function (e) {
return r.handleInteraction(e);
}),
r
);
... | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
D = function (e) {
e.apiRef;
var t = (0, r.Z)(e, j),
n = (function (e) {
var t = (0, h.j)({
props: e,
elements: { rootEl: !0 },
api: function (e) {
var t = e.foundation;
... | Any additional items will be passed to the\\n child ListItem as props | D | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
V = function e(t) {
return Array.isArray(t) && t[0] && 'object' === typeof t[0]
? t.map(function (t) {
if ('object' !== typeof t)
throw new Error(
'Encountered non object for Select '.concat(t)
);
... | Any additional items will be passed to the\\n child ListItem as props | V | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
q = function () {
return (0, N.jsxs)('span', {
className: 'mdc-select__dropdown-icon',
children: [
(0, N.jsx)(A.J, {
className: 'mdc-select__dropdown-icon-inactive',
icon: 'arrow_drop_down'
}),
(0... | Any additional items will be passed to the\\n child ListItem as props | q | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function G(e) {
var t = e.selectOptions,
n = e.placeholder,
a = void 0 === n ? '' : n,
o = e.children,
s = e.elementRef,
l = (e.open, (0, r.Z)(e, M)),
c = function (e) {
var t = e.label,
n = e.option,
... | Any additional items will be passed to the\\n child ListItem as props | G | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
c = function (e) {
var t = e.label,
n = e.option,
r = e.index;
return (0, N.jsx)(
'option',
(0, i.Z)((0, i.Z)({}, n), {}, { value: n.value, children: t }),
r
);
} | Any additional items will be passed to the\\n child ListItem as props | c | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
g = function (e) {
var t = e.label,
n = e.option;
return (
(m += 1),
(0, N.jsx)(
d.sN,
(0, i.Z)(
(0, i.Z)(
{
activated: vo... | Any additional items will be passed to the\\n child ListItem as props | g | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
u = function (e, t) {
return (
(u =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | u | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
d = function () {
return (
(d =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function m(e) {
return (
Boolean(e.document) &&
'function' === typeof e.document.createElement
);
} | Any additional items will be passed to the\\n child ListItem as props | m | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function e(e) {
void 0 === e && (e = {}), (this.adapter = e);
} | Any additional items will be passed to the\\n child ListItem as props | e | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, d(d({}, t.defaultAdapter), n)) || this;
return (
(r.savedTabIndex_ = NaN),
(r.active_ = !1),
(r.inTransit_ = !1),
(r.isDiscrete_ = !1),
(r.hasTrackMarker_ = !1),
... | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
i = function e() {
t.handleUp_(),
t.adapter.deregisterBodyInteractionHandler(r, n),
w.forEach(function (n) {
return t.adapter.deregisterBodyInteractionHandler(
n,
e
... | Any additional items will be passed to the\\n child ListItem as props | i | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function u() {
return (0, c.jsxs)(a.WI, {
title: 'Sliders',
lead: 'Sliders let users select from a range of values by moving the slider thumb.',
module: '@rmwc/slider',
styles: ['@material/slider/dist/mdc.slider.css'],
docsLink:
'https:... | Any additional items will be passed to the\\n child ListItem as props | u | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function p() {
return (0, d.jsxs)(a.WI, {
title: 'Snackbars',
lead: 'Snackbars provide brief feedback about an operation through a message at the bottom of the screen.',
module: '@rmwc/snackbar',
styles: [
'@material/snackbar/dist/mdc.snackbar.css'... | Any additional items will be passed to the\\n child ListItem as props | p | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function r() {
return (0, d.jsxs)('div', {
children: [
(0, d.jsx)(u.z, {
label: 'Notify',
onClick: function () {
return n({
title: (0, d.jsx)('b... | Any additional items will be passed to the\\n child ListItem as props | r | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function f(e) {
var t = e.messages,
n = (0, a.Z)(e, u),
l = t.array[0],
f = (0, o.useState)(0),
m = (0, i.Z)(f, 2)[1],
h = (0, o.useState)(t.array[0]),
g = (0, i.Z)(h, 2),
b = g[0],
v = g[1],
x = (0, o.... | Any additional items will be passed to the\\n child ListItem as props | f | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
n = function () {
t.array[0] !== b &&
(m(function (e) {
return e + 1;
}),
(e = window.setTimeout(function () {
return v(t.array[0]);
}, 150)));
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
m = function () {
var e = new l.A();
return {
messages: e,
clearAll: function () {
return e.empty();
},
notify: function (t) {
return (
e.push(t),
{
close: function () {
... | Any additional items will be passed to the\\n child ListItem as props | m | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
o = function (e, t) {
return (
(o =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | o | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
s = function () {
return (
(s =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | s | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, s(s({}, t.defaultAdapter), n)) || this;
return (
(r.isOpen_ = !1),
(r.animationFrame_ = 0),
(r.animationTimer_ = 0),
(r.autoDismissTimer_ = 0),
(r.autoDismissTimeoutMs_ = d.DE... | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function S(e) {
var t = (0, T.j)({
props: e,
elements: { rootEl: !0, surfaceEl: !0, labelEl: !0 },
foundation: function (e) {
var t = e.rootEl,
n = e.labelEl,
r = e.emit;
return new b({
... | Any additional items will be passed to the\\n child ListItem as props | S | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function L(e) {
return (0, A.jsx)(
'div',
(0, r.Z)(
{
role: 'status',
'aria-live': 'polite',
className: 'mdc-snackbar__label'
},
e
)
);
} | Any additional items will be passed to the\\n child ListItem as props | L | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function N(e) {
return (0, A.jsx)(
'div',
(0, r.Z)({ className: 'mdc-snackbar__actions' }, e)
);
} | Any additional items will be passed to the\\n child ListItem as props | N | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function D(e) {
return (0, A.jsx)(
_.h,
(0, r.Z)(
(0, r.Z)({}, e),
{},
{ className: 'mdc-snackbar__dismiss' }
)
);
} | Any additional items will be passed to the\\n child ListItem as props | D | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
p = function (e, t) {
return (
(p =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | p | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
f = function () {
return (
(f =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | f | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
return e.call(this, f(f({}, t.defaultAdapter), n)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function u() {
return (0, c.jsxs)(a.WI, {
title: 'Switches',
lead: 'On/off switches toggle the state of a single settings option. The option that the switch controls, as well as the state it\u2019s in, should be made clear from the corresponding inline label. Switches take on the same ... | Any additional items will be passed to the\\n child ListItem as props | u | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function d() {
return (0, u.jsxs)(a.WI, {
title: 'Tabs',
lead: 'Tabs make it easy to explore and switch between different views.',
module: '@rmwc/tabs',
styles: [
'@material/tab-bar/dist/mdc.tab-bar.css',
'@material/tab/dist/mdc.tab.c... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
d = function (e, t) {
return (
(d =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
p = function () {
return (
(p =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | p | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, p(p({}, t.defaultAdapter), n)) || this;
return (r.useAutomaticActivation_ = !1), r;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
d = function (e, t) {
return (
(d =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function p(e, t) {
function n() {
this.constructor = e;
}
d(e, t),
(e.prototype =
null === t
? Object.create(t)
: ((n.prototype = t.prototype), new n()));
} | Any additional items will be passed to the\\n child ListItem as props | p | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
f = function () {
return (
(f =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | f | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
return e.call(this, f(f({}, t.defaultAdapter), n)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t() {
return (null !== e && e.apply(this, arguments)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t() {
return (null !== e && e.apply(this, arguments)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
k = function (e) {
var t = (0, c.j)({
props: e,
elements: { rootEl: !0, contentEl: !0 },
foundation: function (t) {
var n = t.rootEl,
r = t.contentEl,
i = {
addClass: function (e) ... | Any additional items will be passed to the\\n child ListItem as props | k | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function E(e) {
var t = k(e),
n = t.rootEl,
i = t.contentEl,
s = e.icon,
l = e.transition;
return (0, w.jsx)(r.Vp, {
tag: 'span',
element: n,
className: a()('mdc-tab-indicator', {
'mdc-tab-indicator--fa... | Any additional items will be passed to the\\n child ListItem as props | E | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
c = function (e, t) {
return (
(c =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | c | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function u(e, t) {
function n() {
this.constructor = e;
}
c(e, t),
(e.prototype =
null === t
? Object.create(t)
: ((n.prototype = t.prototype), new n()));
} | Any additional items will be passed to the\\n child ListItem as props | u | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
d = function () {
return (
(d =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function p(e, t) {
var n = 'function' === typeof Symbol && e[Symbol.iterator];
if (!n) return e;
var r,
i,
a = n.call(e),
o = [];
try {
for (; (void 0 === t || t-- > 0) && !(r = a.next()).done; )
o.push(r.value);
... | Any additional items will be passed to the\\n child ListItem as props | p | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
b = function (e) {
this.adapter = e;
} | Any additional items will be passed to the\\n child ListItem as props | b | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t() {
return (null !== e && e.apply(this, arguments)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t() {
return (null !== e && e.apply(this, arguments)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t() {
return (null !== e && e.apply(this, arguments)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, d(d({}, t.defaultAdapter), n)) || this;
return (r.isAnimating_ = !1), r;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
E = function (e) {
var t = (0, o.j)({
props: e,
api: function (e) {
var t = e.foundation,
n = e.contentEl,
r = t;
return {
scrollTo: function (e) {
return r.s... | Any additional items will be passed to the\\n child ListItem as props | E | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function S(e) {
var t = e.children,
n = (e.apiRef, (0, i.Z)(e, C)),
o = E(e),
s = o.rootEl,
l = o.areaEl,
c = o.contentEl;
return (0, T.jsx)(
a.Vp,
(0, r.Z)(
(0, r.Z)({}, n),
{},
... | Any additional items will be passed to the\\n child ListItem as props | S | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
m = function (e, t) {
return (
(m =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | m | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
h = function () {
return (
(h =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | h | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, h(h({}, t.defaultAdapter), n)) || this;
return (r.focusOnActivate_ = !0), r;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
m = function (e, t) {
return (
(m =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (e, t) {
e.__proto__ = t;
}) ||
function (e, t) {
for (var n in... | Any additional items will be passed to the\\n child ListItem as props | m | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function h(e, t) {
function n() {
this.constructor = e;
}
m(e, t),
(e.prototype =
null === t
? Object.create(t)
: ((n.prototype = t.prototype), new n()));
} | Any additional items will be passed to the\\n child ListItem as props | h | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function n() {
this.constructor = e;
} | Any additional items will be passed to the\\n child ListItem as props | n | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
g = function () {
return (
(g =
Object.assign ||
function (e) {
for (var t, n = 1, r = arguments.length; n < r; n++)
for (var i in (t = arguments[n]))
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
... | Any additional items will be passed to the\\n child ListItem as props | g | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
var r = e.call(this, g(g({}, t.defaultAdapter), n)) || this;
return (
(r.savedTabIndex_ = null),
(r.interactionHandler_ = function (e) {
return r.handleInteraction(e);
}),
r
);
... | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n, r) {
void 0 === r && (r = {});
var i = e.call(this, g(g({}, t.defaultAdapter), n)) || this;
return (
(i.isFocused_ = !1),
(i.receivedUserInput_ = !1),
(i.isValid_ = !0),
(i.useNativeValidation_ = !0),... | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function t(n) {
return e.call(this, g(g({}, t.defaultAdapter), n)) || this;
} | Any additional items will be passed to the\\n child ListItem as props | t | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
M = function (e) {
var t = (0, a.useState)(!1),
n = (0, E.Z)(t, 2),
o = n[0],
s = n[1],
l = (0, a.useState)(0),
c = (0, E.Z)(l, 2),
u = c[0],
d = c[1],
p = (0, a.useState)(),
m = (0,... | Any additional items will be passed to the\\n child ListItem as props | M | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
_ = function (e) {
S.current = e;
} | Any additional items will be passed to the\\n child ListItem as props | _ | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
J = function (e, t) {
return (0, F.jsx)(K, {
apiRef: function (e) {
'leading' === t ? U(e) : z(e);
},
position: t,
tabIndex: 'trailing' === t ? 0 : void 0,
icon: e
});
... | Any additional items will be passed to the\\n child ListItem as props | J | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
K = function (e) {
e.apiRef;
var t = e.position,
n = (0, i.Z)(e, z),
a = (function (e) {
var t = (0, f.j)({
props: e,
elements: { rootEl: !0 },
api: function (e) {
var t ... | Any additional items will be passed to the\\n child ListItem as props | K | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function l() {
return (0, s.jsxs)(r.WI, {
title: 'Text Fields',
lead: 'Text fields allow users to input, edit, and select text.',
module: '@rmwc/textfield',
styles: [
'@material/textfield/dist/mdc.textfield.css',
'@material/floating-l... | Any additional items will be passed to the\\n child ListItem as props | l | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function d() {
return (0, u.jsxs)(r.WI, {
title: 'Theming',
lead: 'MDC Theme is a foundational module that themes MDC Web components.',
module: '@rmwc/theme',
styles: [
'@material/theme/dist/mdc.theme.css',
'@rmwc/theme/theme.css'
... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
a = function (e, t, n) {
var r = [e, t, n].map(function (e) {
return (e /= 255) <= 0.03928
? e / 12.92
: Math.pow((e + 0.055) / 1.055, 2.4);
});
return 0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2];
} | Any additional items will be passed to the\\n child ListItem as props | a | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
o = function (e) {
var t;
return (function (e) {
4 === e.length && (e += e.slice(1));
var t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
return t
? {
r: parseInt(t[1], 16),
g: parseInt(t[2... | Any additional items will be passed to the\\n child ListItem as props | o | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
s = function (e) {
var t,
n,
r = o(e),
i = r.r,
s = r.g,
l = r.b;
return !(
((n = [i, s, l]),
(a((t = [255, 255, 255])[0], t[1], t[2]) + 0.05) /
(a(n[0], n[1], n[2]) + 0.05)) > 3
... | Any additional items will be passed to the\\n child ListItem as props | s | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
d = function (e) {
var t = Object.keys(l).reduce(function (t, n) {
if (e[n]) {
var r = s(e[n]) ? c : u;
l[n].forEach(function (e) {
t[e[0]] = r[e[1]];
});
}
return t;
}, {});
r... | Any additional items will be passed to the\\n child ListItem as props | d | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function s(e) {
var t = e.className,
n = e.style,
s = e.rootProps,
l = e.label,
c = e.children,
u = e.disabled,
d = e.label || e.children,
p = (0, i.M)('toggle-', e),
f = d
? { disabled: u }
... | Any additional items will be passed to the\\n child ListItem as props | s | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function g() {
var e = this.constructor.getDerivedStateFromProps(
this.props,
this.state
);
null !== e && void 0 !== e && this.setState(e);
} | Any additional items will be passed to the\\n child ListItem as props | g | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function b(e) {
this.setState(
function (t) {
var n = this.constructor.getDerivedStateFromProps(e, t);
return null !== n && void 0 !== n ? n : null;
}.bind(this)
);
} | Any additional items will be passed to the\\n child ListItem as props | b | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function v(e, t) {
try {
var n = this.props,
r = this.state;
(this.props = e),
(this.state = t),
(this.__reactInternalSnapshotFlag = !0),
(this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
n,
... | Any additional items will be passed to the\\n child ListItem as props | v | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function x(e, t) {
for (var n = t; n; ) {
if (n === e) return !0;
n = n.parentNode;
}
return !1;
} | Any additional items will be passed to the\\n child ListItem as props | x | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function w(e, t, n, r) {
var i = h.unstable_batchedUpdates
? function (e) {
h.unstable_batchedUpdates(n, e);
}
: n;
return k()(e, t, i, r);
} | Any additional items will be passed to the\\n child ListItem as props | w | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
function E(e) {
return (
(E =
'function' === typeof Symbol &&
'symbol' === typeof Symbol.iterator
? function (e) {
return typeof e;
}
: function (e) {
return e &&
... | Any additional items will be passed to the\\n child ListItem as props | E | javascript | rmwc/rmwc | docs/version/8.0.8/static/js/main.6c3f4ae5.js | https://github.com/rmwc/rmwc/blob/master/docs/version/8.0.8/static/js/main.6c3f4ae5.js | MIT |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.