| 50 | /// - [Events](https://github.com/material-components/material-components-web-components/tree/master/packages/drawer#events) |
| 51 | #[derive(Clone, PartialEq, Properties)] |
| 52 | pub struct DrawerProps { |
| 53 | #[prop_or_default] |
| 54 | pub open: bool, |
| 55 | #[prop_or_default] |
| 56 | pub has_header: Option<bool>, |
| 57 | #[prop_or_default] |
| 58 | pub drawer_type: String, |
| 59 | /// Binds to `opened` event on `drawer` |
| 60 | /// |
| 61 | /// See events docs to learn more. |
| 62 | #[prop_or_default] |
| 63 | pub onopened: Callback<()>, |
| 64 | /// Binds to `closed` event on `drawer` |
| 65 | /// |
| 66 | /// See events docs to learn more. |
| 67 | #[prop_or_default] |
| 68 | pub onclosed: Callback<()>, |
| 69 | #[prop_or_default] |
| 70 | pub link: WeakComponentLink<Drawer>, |
| 71 | #[prop_or_default] |
| 72 | pub children: Children, |
| 73 | } |
| 74 | |
| 75 | impl Component for Drawer { |
| 76 | type Message = DrawerMsg; |
nothing calls this directly
no outgoing calls
no test coverage detected