{"id":13714943,"url":"https://github.com/imaaronjames/Simple-Android-Snackbar","last_synced_at":"2025-05-07T03:31:04.222Z","repository":{"id":215215589,"uuid":"46888767","full_name":"imaaronjames/Simple-Android-Snackbar","owner":"imaaronjames","description":"A Framer Studio module for adding Android Material Design Snackbars to your project","archived":false,"fork":false,"pushed_at":"2016-04-14T16:23:28.000Z","size":2213,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-14T03:34:18.300Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imaaronjames.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-11-25T21:41:00.000Z","updated_at":"2016-03-14T08:17:06.000Z","dependencies_parsed_at":"2024-01-03T07:10:47.897Z","dependency_job_id":null,"html_url":"https://github.com/imaaronjames/Simple-Android-Snackbar","commit_stats":null,"previous_names":["imaaronjames/simple-android-snackbar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaaronjames%2FSimple-Android-Snackbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaaronjames%2FSimple-Android-Snackbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaaronjames%2FSimple-Android-Snackbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaaronjames%2FSimple-Android-Snackbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imaaronjames","download_url":"https://codeload.github.com/imaaronjames/Simple-Android-Snackbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252806414,"owners_count":21807199,"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-08-03T00:00:52.245Z","updated_at":"2025-05-07T03:31:01.906Z","avatar_url":"https://github.com/imaaronjames.png","language":"JavaScript","readme":"# Simple Android Snackbar\nA Framer Studio module for adding Android Material Design Snackbars to your project\n\n## Installation\n\n1. Download the androidSnackbar.coffee file.\n2. Create a new Framer project and add androidSnackbar.coffee to your /modules folder.\n3. Add `Android = require 'androidSnackbar'` at the top of your document.\n\n[Sample Project can be found here.](http://share.framerjs.com/ambwyc922b0m/)\n\nMore info about modules for Framer Studio: [FramerJS Docs - Modules](http://framerjs.com/docs/#modules)\n\n![TextLayer](https://raw.githubusercontent.com/imaaronjames/Simple-Android-Snackbar/master/androidSnackbar-Sample-Project.framer/images/sample-code.png)\n\n## How to use this module\nYou only need one line of code to make Simple Android Snackbars work. It looks a little something like this:\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`Android.Snackbar(\"Snackbar is one line by default.\")`\n\n### Simple yet powerful customization\nThere are three parameters you can change: keyboardType, keyboardTheme, and hasAutoCorrect\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**snackbarMessage** (string) -- Add your custom message\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**actionText** (string) -- Add your custom action text. if null, the button will be turned off.\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**textColor** (string) -- You can change the color of the action button using rgba()\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**twoLines** (boolean) -- true = multi-line snackbar, false = single-line snackbar\n\n## Adding Events to the action button\nAny Event can be assigned to the snackbar action button. To do this, use this line:\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`snackbarActionBTN.on Events.Click, -\u003e`\n\n___\nThat's it! the snackbar layers will automatically animate in and out for you. When the layers animate out, they will be destroyed for you. Simple.\n","funding_links":[],"categories":["Modules"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimaaronjames%2FSimple-Android-Snackbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimaaronjames%2FSimple-Android-Snackbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimaaronjames%2FSimple-Android-Snackbar/lists"}