{"id":18925022,"url":"https://github.com/kouyjes/h-dialog","last_synced_at":"2026-03-14T12:30:17.292Z","repository":{"id":57259919,"uuid":"100221331","full_name":"kouyjes/h-dialog","owner":"kouyjes","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-19T08:07:53.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-31T22:06:34.930Z","etag":null,"topics":["alert","dialog","error","info","panel","warn","window"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kouyjes.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-14T02:44:32.000Z","updated_at":"2018-01-30T03:39:41.000Z","dependencies_parsed_at":"2022-08-25T01:51:28.345Z","dependency_job_id":null,"html_url":"https://github.com/kouyjes/h-dialog","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/kouyjes%2Fh-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouyjes%2Fh-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouyjes%2Fh-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kouyjes%2Fh-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kouyjes","download_url":"https://codeload.github.com/kouyjes/h-dialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921844,"owners_count":19718844,"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":["alert","dialog","error","info","panel","warn","window"],"created_at":"2024-11-08T11:08:56.187Z","updated_at":"2026-03-14T12:30:17.243Z","avatar_url":"https://github.com/kouyjes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Get Started\n### Demo\n\n[Demo url](https://kouyjes.github.io/h-dialog/example/index.html)\n\n### Interface\n```javascript\n   interface PanelOption{\n       el:HTMLElement;\n       contentElements?:any[];\n   }\n   enum Align{\n       LEFT = 'left',\n       RIGHT = 'right',\n       CENTER = 'center'\n   }\n   interface InfoPanelOption extends PanelOption{\n       autoRemove:boolean;\n       autoRemoveTime:number;\n       css:Object;\n       align:Align;\n   }\n   interface InfoDialogOption extends InfoPanelOption{\n       type?:InfoDialogType;\n       content:String;\n       maxHeight:String;\n       html?:any;\n   }\n   enum InfoDialogType{\n       INFO = 'info',\n       WARN = 'warn',\n       ERROR = 'error'\n   }\n```\n### InfoPanel Example\n```javascript\n    var InfoWindow = HERE.UI.InfoWindow;\n    var template = '\u003cdiv\u003etext\u003c/div\u003e';\n    InfoWindow.show({\n         autoRemove:true,\n         autoRemoveTime:5000,\n         css:{\n            backgroundColor:'#ccc'\n         },\n         contentElements:[template]\n     });\n```\n### InfoDialog Example\n```javascript\n    var Dialog = HERE.UI.InfoDialog;\n    Dialog.info({\n        maxHeight:'200px', // String optional\n        content:'content text',\n        html:'',// string or dom\n        autoRemove:true, // boolean optional\n        autoRemoveTime:timeout // timeout in ms ,optional\n    });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkouyjes%2Fh-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkouyjes%2Fh-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkouyjes%2Fh-dialog/lists"}