{"id":21721660,"url":"https://github.com/polydile/dile-app-drawer","last_synced_at":"2025-03-20T21:44:59.366Z","repository":{"id":35026965,"uuid":"197789976","full_name":"Polydile/dile-app-drawer","owner":"Polydile","description":"Web component to create a app drawer menu, based on LitElement.","archived":false,"fork":false,"pushed_at":"2023-01-04T04:58:06.000Z","size":2562,"stargazers_count":1,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-29T01:23:33.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dile-app-drawer.polydile.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Polydile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-19T14:43:35.000Z","updated_at":"2020-07-10T16:37:59.000Z","dependencies_parsed_at":"2023-01-15T12:18:16.941Z","dependency_job_id":null,"html_url":"https://github.com/Polydile/dile-app-drawer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-app-drawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-app-drawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-app-drawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polydile%2Fdile-app-drawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polydile","download_url":"https://codeload.github.com/Polydile/dile-app-drawer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244694237,"owners_count":20494609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T02:18:21.058Z","updated_at":"2025-03-20T21:44:59.361Z","avatar_url":"https://github.com/Polydile.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moved!\n\n**This package has moved** and is now available at [@dile/ui](https://github.com/Polydile/dile-components). Please update your dependencies. This repository is no longer maintained. You can read the documentation at [Dile Components](https://dile-components.com/).\n\n# \\\u003cdile-app-drawer\u003e\n\nWeb component to create a simple animated menu, useful as app global menu. Based on LitElement\n\nGo to [DEMOS page](https://dile-app-drawer.polydile.com/).\n\n## Installation\n```bash\nnpm i dile-app-drawer\n```\n\n## Usage\n```html\n\u003cscript type=\"module\"\u003e\n  import 'dile-app-drawer/dile-app-drawer.js';\n\u003c/script\u003e\n\n\u003cdile-app-drawer\u003e\n  \u003cp\u003e\u003ca href=\"#\"\u003eLink 1\u003c/a\u003e\u003c/p\u003e\n  \u003cp\u003e\u003ca href=\"#\"\u003eAnother link\u003c/a\u003e\u003c/p\u003e\n  \u003cp\u003e\u003ca href=\"#\"\u003eMore information\u003c/a\u003e\u003c/p\u003e\n  \u003cp\u003e\u003ca href=\"#\"\u003eContact us\u003c/a\u003e\u003c/p\u003e\n\u003c/dile-app-drawer\u003e\n```\n\n## Properties\n\nThis componen only has one property to set the state of the component between opened and closed.\n\n- **opened**: Boolean property.\n\n## Methods\n\nThe component also provides a set of useful methods to controls the component state programmatically.\n\n- **open()**: Opens the menu.\n- **close()**: Closes the menu.\n- **toggle()**: Changes the state, from open to close or close to open.\n\n## Events\n\n- **dile-app-drawer-click-outside**: This custom event is dispatched when the drawer panel is closed because a user click outside the menu layer.\n\n## CSS customization\n\nThere are some CSS custom properties to customize the style and the animation.\n\nCustom property | Description | Default\n----------------|-------------|---------\n--dile-app-drawer-content-height | Height of the menu | auto\n--dile-app-drawer-background-color | Background color menu layer | #ddd\n--dile-app-drawer-z-index | z-index menu layer | 10000\n--dile-app-drawer-closed-top | Drawer content top position in closed state | 40vh\n--dile-app-drawer-closed-left | Drawer content left position in closed state | 0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolydile%2Fdile-app-drawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolydile%2Fdile-app-drawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolydile%2Fdile-app-drawer/lists"}