{"id":15097928,"url":"https://github.com/ionic-team/ionic-ion-frost","last_synced_at":"2025-12-12T04:05:06.732Z","repository":{"id":20470065,"uuid":"23747584","full_name":"ionic-team/ionic-ion-frost","owner":"ionic-team","description":"A reusable frosted-glass effect for adding this cool iOS effect to your Ionic apps.","archived":true,"fork":false,"pushed_at":"2015-10-15T03:17:47.000Z","size":170,"stargazers_count":62,"open_issues_count":1,"forks_count":10,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-01-18T21:58:33.262Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ionic-team.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-09-06T23:01:52.000Z","updated_at":"2023-09-08T16:50:25.000Z","dependencies_parsed_at":"2022-07-31T21:08:07.382Z","dependency_job_id":null,"html_url":"https://github.com/ionic-team/ionic-ion-frost","commit_stats":null,"previous_names":["driftyco/ionic-ion-frost"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-frost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-frost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-frost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-frost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/ionic-ion-frost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235678929,"owners_count":19028301,"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-09-25T16:41:28.163Z","updated_at":"2025-10-08T03:30:44.933Z","avatar_url":"https://github.com/ionic-team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ionic Contrib: Frosted Glass\n===================\n\nA reusable frosted-glass effect for adding this cool iOS effect to your Ionic apps. (this is an updated and more generic version of our old [Ionic Frosted Glass Header](https://github.com/driftyco/ionic-contrib-frosted-glass) contrib). It looks like this:\n\n\n\u003cp data-height=\"266\" data-theme-id=\"3572\" data-slug-hash=\"pmBch\" data-default-tab=\"result\" data-user=\"ionic\" class='codepen'\u003eSee the Pen \u003ca href='http://codepen.io/ionic/pen/pmBch/'\u003eIonic Contrib: Frost\u003c/a\u003e by Ionic (\u003ca href='http://codepen.io/ionic'\u003e@ionic\u003c/a\u003e) on \u003ca href='http://codepen.io'\u003eCodePen\u003c/a\u003e.\u003c/p\u003e\n\u003cscript async src=\"//codepen.io/assets/embed/ei.js\"\u003e\u003c/script\u003e\n\n\u003cimg src=\"http://ionicframework.com.s3.amazonaws.com/contrib/frost2.png\" style=\"width: 319px; background-size: 100%\"\u003e\n\n### Use\n\nTo use, add the attribute `frost` to the element you want to blur. Then, you'll want to add an overlay to give a nice faded effect for content on top. The demo has a dark overlay you can use:\n\n```html\n\u003cion-pane frost\u003e\n\u003c/ion-pane\u003e\n\u003cion-pane class=\"my-overlay\"\u003e\n\u003c/ion-pane\u003e\n\u003cstyle\u003e\n// Example dark overlay:\n.my-overlay {\n  background-color: #222;\n  opacity: 0.8;\n}\n\u003c/style\u003e\n```\n\nSee `demo/index.html` for an example.\n\n### Updating the Frost\n\nWhen the content changes underneath, you need to update the frosted effect. To do that in a controller (for example), inject the `$ionicFrostedDelegate` and call `update()` on it:\n\n```javascript\ncontroller('MyCtrl', function($scope, $ionicFrostedDelegate) {\n  $scope.contentChanged = function() {\n    $ionicFrostedDelegate.update();\n  };\n});\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fionic-ion-frost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Fionic-ion-frost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fionic-ion-frost/lists"}