{"id":13521591,"url":"https://github.com/ElemeFE/element-helper","last_synced_at":"2025-03-31T20:32:04.534Z","repository":{"id":65980023,"uuid":"93470045","full_name":"ElemeFE/element-helper","owner":"ElemeFE","description":"🚀 Element-Helper is a Atom package for Element-UI.","archived":false,"fork":false,"pushed_at":"2018-09-05T15:47:22.000Z","size":59,"stargazers_count":74,"open_issues_count":8,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-02T06:12:41.331Z","etag":null,"topics":["atom","javascript","package"],"latest_commit_sha":null,"homepage":null,"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/ElemeFE.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-06T03:04:59.000Z","updated_at":"2024-07-24T09:32:02.000Z","dependencies_parsed_at":"2023-02-19T18:45:18.422Z","dependency_job_id":null,"html_url":"https://github.com/ElemeFE/element-helper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Felement-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Felement-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Felement-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Felement-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElemeFE","download_url":"https://codeload.github.com/ElemeFE/element-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222679160,"owners_count":17021812,"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":["atom","javascript","package"],"created_at":"2024-08-01T06:00:36.259Z","updated_at":"2024-11-02T05:31:40.404Z","avatar_url":"https://github.com/ElemeFE.png","language":"JavaScript","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"# Element-Helper\n\n\u003e Element-Helper is a Atom package for Element-UI, if you use VSCode editor, please go to [VSCode VERSION](https://marketplace.visualstudio.com/items?itemName=ElemeFE.vscode-element-helper)\n\nElement-UI is a great library. More and more projects use it. So, For helping developer write by Element-UI more efficient, Element-Helper is born.\n\n## Feature\n\n* Document\n\n* Autocomplete\n\n* Snippets\n\n\n## Document\n\n### Usage\n\n1 - Move cursor to Element-UI tag or select it\n\n2 - Press default hot key `ctrl + cmd + z`\n\n3 - Select tag you want to search\n\n4 - Enter and trigger document browser\n\n![document](https://user-images.githubusercontent.com/1659577/27280445-8077e646-551a-11e7-93c0-fb577020c841.gif)\n\n### Version and Language Switching\n\n1 - Enter `Atom` -\u003e `Preferences`\n\n2 - Enter `Packages` and search Element-Helper package\n\n3 - Enter `Setting`\n\n4 - Switch version and language\n\n### Auto Update Mechanism\n\nDocument is off-line and auto synchronize with Element-UI official site.\n\n### Keymap\n\nDefault hot key is  `ctrl + cmd + z`. If it has conflicted with other software's hot key. You can customize it.\n\n1 - Enter `Atom` -\u003e `Keymap`\n\n2 - Customize your config. like\n\n```\n\"atom-workspace\":\n  \"ctrl-alt-z\": \"element-helper:search-under-cursor\"\n```\n\n\n## Autocomplete\n\n![autocomplete](https://cloud.githubusercontent.com/assets/1659577/26758337/e0417b1e-490d-11e7-87be-c2640d239285.gif)\n\n* Distinguish and auto complete property and method for every Element-UI tag\n\n* Prompt value when value is some special type like Boolean or ICON.\n\n\n## Snippets\n\n![snippets](https://cloud.githubusercontent.com/assets/1659577/26758333/b8c2b3c8-490d-11e7-9349-666e47712860.gif)\n\nSupport snippets list:\n\n* `msg`\n\n  ```\n  this.$message({\n    message: '',\n    type: ''\n  })\n  ```\n\n* `alert`\n\n  ```\n  this.$alert('', '', {\n    confirmButtonText: '',\n    callback: () =\u003e {}\n  });\n  ```\n\n* `confirm`\n\n  ```\n  this.$confirm('', '', {\n    confirmButtonText: '',\n    cancelButtonText: '',\n    type: ''\n  }).then(() =\u003e {})\n    .catch(() =\u003e {});\n  ```\n\n* `prompt`\n\n  ```\n  this.$prompt('', '', {\n    confirmButtonText: '',\n    cancelButtonText: '',\n    inputPattern: //,\n    inputErrorMessage: ''\n  }).then(({ value }) =\u003e {})\n    .catch(() =\u003e {});\n  ```\n\n* `msgb`\n\n  ```\n  this.$msgbox({\n    title: '',\n    message: '',\n    showCancelButton: '',\n    confirmButtonText: '',\n    cancelButtonText: '',\n    beforeClose: (action, instance, done) =\u003e {}\n  }).then(action =\u003e {});\n  ```\n\n* `notify`\n\n  ```\n  this.$notify({\n    title: '',\n    message: ''\n  });\n  ```\n\n## Contribution\n\nYour pull request will make Element-Helper better.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElemeFE%2Felement-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FElemeFE%2Felement-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElemeFE%2Felement-helper/lists"}