https://github.com/astares/seaside-addtohomescreen
Seaside wrapper for http://cubiq.org/add-to-home-screen
https://github.com/astares/seaside-addtohomescreen
pharo seaside
Last synced: about 1 year ago
JSON representation
Seaside wrapper for http://cubiq.org/add-to-home-screen
- Host: GitHub
- URL: https://github.com/astares/seaside-addtohomescreen
- Owner: astares
- License: mit
- Created: 2020-05-21T14:00:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T14:19:24.000Z (about 6 years ago)
- Last Synced: 2025-02-11T11:40:19.142Z (over 1 year ago)
- Topics: pharo, seaside
- Language: HTML
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Seaside-AddToHomeScreen
Seaside wrapper for http://cubiq.org/add-to-home-screen
## Quick Start
### Installation
First you need to load Seaside, here we load the development version:
```Smalltalk
Metacello new
baseline:'Seaside3';
repository: 'github://SeasideSt/Seaside:develop/repository';
load.
```
for any other have a look at [https://github.com/SeasideSt/Seaside](https://github.com/SeasideSt/Seaside).
Then load AddToHomeScreen
```Smalltalk
Metacello new
baseline:'AddToHomeScreen';
repository: 'github://astares/AddToHomeScreen:master/src';
load.
```
## Usage
Just call the addToHomescreen() in your entry component
```Smalltalk
renderContentOn: html
html render: loginPage.
html script: 'addToHomescreen();'
```