MCPcopy Create free account
hub / github.com/angular-rust/yew-components / Dialog

Class Dialog

src/dialog.rs:21–28  ·  view source on GitHub ↗

The `dialog` component. [Documentation](https://github.com/material-components/material-components-web-components/tree/master/packages/dialog) ## Actions In order to pass actions, [`DialogAction`] component should be used.

Source from the content-addressed store, hash-verified

19/// In order to pass actions, [`DialogAction`] component should be
20/// used.
21pub struct Dialog {
22 props: DialogProps,
23 node_ref: NodeRef,
24 opening_listener: Option<EventListener>,
25 opened_listener: Option<EventListener>,
26 closing_listener: Option<EventListener>,
27 closed_listener: Option<EventListener>,
28}
29
30/// Props for [`Dialog`]
31///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected