Home
last modified time | relevance | path

Searched full:mithril (Results 1 – 25 of 189) sorted by relevance

12345678

/aosp_15_r20/external/perfetto/ui/src/widgets/
H A Dmodal.ts15 import m from 'mithril';
23 // Mithril sub-component, but we want the result dom element to be nested under
33 // - A static set of mithril vnodes (for cases when the contents of the modal
35 // - A function, invoked on each render pass, that returns mithril vnodes upon
44 // In this case, just ust the Modal class as a standard mithril component.
78 // is scoped to a mithril component, not fullscreen).
88 // Retuning `removePromise` will cause Mithril to defer the actual component
H A Dmenu.ts15 import m from 'mithril';
120 // MenuDividers, but really they can be any Mithril component.
128 // The trigger is mithril component which is used to toggle the popup when
132 // This trigger can be any mithril component, but it is typically a Button,
156 // MenuDividers, but really they can be any Mithril component.
H A Dvirtual_table.ts15 import m from 'mithril';
32 * - Rendering thousands of DOM elements using Mithril can get be slow.
65 * straight to mithril.
69 * which behave in the same way as they do on other Mithril components.
133 // Used for callbacks and as a Mithril key.
H A Dtree.ts15 import m from 'mithril';
174 // in Mithril.
H A Derror.ts15 import m from 'mithril';
/aosp_15_r20/external/perfetto/docs/contributing/
H A Dui-development.md24 ## Mithril components
26 Perfetto UI uses the [Mithril](https://mithril.js.org/) library for rendering
28 [class components](https://mithril.js.org/components.html#classes). When Mithril
H A Dui-plugins.md523 import m from 'mithril';
593 selection object and returns either mithril vnodes or a falsy value.
702 Pages should be mithril components that accept `PageWithTraceAttrs` for
707 import m from 'mithril';
722 import m from 'mithril';
/aosp_15_r20/external/perfetto/ui/src/core/
H A Draf_scheduler.ts16 import m from 'mithril';
24 name: 'Enable Mithril autoredraw',
146 // Mithril's render() function takes a third argument which tells us if a
149 // official Mithril docs but is just not part of the @types/mithril package.
H A Dperf_manager.ts15 import m from 'mithril';
46 // want to redraw the mithril component even if there is no full DOM redraw
67 // The mithril component that draws the contents of the perf stats box.
H A Drouter.ts15 import m from 'mithril';
58 // 1) Maps fragment paths (#!/page/subpage) to Mithril components.
/aosp_15_r20/external/perfetto/infra/ci/frontend/
H A DMakefile55 static/third_party/mithril-1.1.6.min.js:
56 curl -Sso $@ https://cdnjs.cloudflare.com/ajax/libs/mithril/1.1.6/mithril.min.js
59 static_3p: static/third_party/mithril-1.1.6.min.js static/third_party/xterm-4.11.0.min.css static/t…
/aosp_15_r20/external/perfetto/ui/src/base/
H A Dmithril_utils.ts15 import m from 'mithril';
17 // Check if a mithril component vnode has children
57 * Utility function to pre-bind some mithril attrs of a component, and leave
72 * The return value of bindMithrilApps is a mithril component that takes in
/aosp_15_r20/external/perfetto/ui/src/public/
H A Dpage.ts15 import m from 'mithril';
38 * Mithril attrs for pages that don't require a Trace object. These pages are
47 * Mithril attrs for pages that require a Trace object. These pages are
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.RecordTrace/
H A Drecording_multiple_choice.ts15 import m from 'mithril';
62 // Work around mithril bug
63 // (https://github.com/MithrilJS/mithril.js/issues/2107): We
H A Drecord_page_v2.ts15 import m from 'mithril';
16 import {Attributes} from 'mithril';
66 // css attributes passed to the mithril components which displays the target
147 // Work around mithril bug
148 // (https://github.com/MithrilJS/mithril.js/issues/2107): We may
H A Drecord_page.ts15 import m from 'mithril';
119 // Work around mithril bug
120 // (https://github.com/MithrilJS/mithril.js/issues/2107): We may
/aosp_15_r20/external/perfetto/ui/src/frontend/
H A Dindex.ts20 import m from 'mithril';
218 // And replace it with the root <main> element which will be used by mithril.
228 // Mount the main mithril component. This also forces a sync render pass.
H A Domnibox.ts15 import m from 'mithril';
335 // manually to the DOM and doesn't use Mithril's auto-redraw system.
H A Dpanel_container.ts15 import m from 'mithril';
268 // `key` attribute for intermediate tree vnodes: otherwise Mithril internals
/aosp_15_r20/external/perfetto/ui/
H A Dpackage.json23 "@types/mithril": "^2.2.6",
38 "mithril": "^2.2.2", string
/aosp_15_r20/external/perfetto/ui/src/core_plugins/flags_page/
H A Dplugins_page.ts15 import m from 'mithril';
26 // changes. It is purposely a global as we want it to outlive the Mithril
/aosp_15_r20/external/perfetto/ui/src/bigtrace/
H A Dindex.ts17 import m from 'mithril';
107 // And replace it with the root <main> element which will be used by mithril.
/aosp_15_r20/external/perfetto/ui/src/assets/
H A Dmodal.scss18 // reaches the end, the Mithril component that renders .modal-backdrop
21 // hooking the onanimationend events to synchronize the Mithril removal with
/aosp_15_r20/external/perfetto/ui/src/plugins/org.chromium.ChromeScrollJank/
H A Dscroll_details_panel.ts15 import m from 'mithril';
84 // TODO(altimin): Don't store Mithril vnodes between render cycles.
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.TimelineSync/
H A Dindex.ts15 import m from 'mithril';
161 // The function below is called on every mithril render pass. It's important

12345678