{"id":15364418,"url":"https://github.com/xadillax/jquery.loadingmask","last_synced_at":"2026-03-08T12:38:18.118Z","repository":{"id":17175560,"uuid":"19942857","full_name":"XadillaX/jquery.loadingMask","owner":"XadillaX","description":"To quickly build a loading mask.","archived":false,"fork":false,"pushed_at":"2019-01-29T08:19:23.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T01:52:59.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XadillaX.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":"2014-05-19T13:28:54.000Z","updated_at":"2019-01-29T08:19:25.000Z","dependencies_parsed_at":"2022-09-11T01:41:09.683Z","dependency_job_id":null,"html_url":"https://github.com/XadillaX/jquery.loadingMask","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/XadillaX%2Fjquery.loadingMask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fjquery.loadingMask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fjquery.loadingMask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fjquery.loadingMask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XadillaX","download_url":"https://codeload.github.com/XadillaX/jquery.loadingMask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219842832,"owners_count":16556560,"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-10-01T13:11:42.808Z","updated_at":"2026-03-08T12:38:18.077Z","avatar_url":"https://github.com/XadillaX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery Loading Mask\n==================\n\nTo quickly build a loading mask.\n\nUsage\n------------------\n\nInclude the `*.js` and `*.css` files.\n\n```html\n\u003cscript src=\"loadingMask/jquery.loadingMask.js\"\u003e\u003c/script\u003e\n\u003clink href=\"loadingMask/theme/default/jquery.loadingMask.css\" rel=\"stylesheet\" /\u003e\n```\n\n\u003e ***Notice:*** You can even create a theme by yourself.\n\nAnd then choose an element to create the mask.\n\n```javascript\n$(\"your-element\").loadingMask();\n$(\"your-element\").loadingMask(\"show\");\n$(\"your-element\").loadingMask(\"hide\");\n$(\"your-element\").loadingMask(\"toggle\");\n```\n\nHowever, you can get the `mask object` by equaling the `*.loadingMask()`:\n\n```javascript\nvar mask = $(\"your-element\").loadingMask();\nmask.show();\nmask.hide();\nmask.toggle();\n```\n\n\u003e ***By the way:*** If you want to get the `mask object`, make sure there's only one object matches your element.\n\u003e\n\u003e The code below will not make sense if you have several `.cls`:\n\u003e\n\u003e ```javascript\n\u003e var mask = $(\".cls\").loadingMask();\n\u003e ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxadillax%2Fjquery.loadingmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxadillax%2Fjquery.loadingmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxadillax%2Fjquery.loadingmask/lists"}