From 0e473700db003c2949ec68259e62955cdd4d4d7e Mon Sep 17 00:00:00 2001 From: ahmetcanisik Date: Sun, 30 Jun 2024 12:58:11 +0300 Subject: [PATCH] added --- public/.gitattributes | 2 -- public/.gitignore | 7 ---- public/README.md | 80 ------------------------------------------- public/_redirects | 2 +- 4 files changed, 1 insertion(+), 90 deletions(-) delete mode 100644 public/.gitattributes delete mode 100644 public/.gitignore delete mode 100644 public/README.md diff --git a/public/.gitattributes b/public/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/public/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/public/.gitignore b/public/.gitignore deleted file mode 100644 index 9f24d02..0000000 --- a/public/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.idea/* -.vscode/* -.npmignore -build/.idea/* -build/.vscode/* -.test/* -node_modules/* \ No newline at end of file diff --git a/public/README.md b/public/README.md deleted file mode 100644 index 83cc3a8..0000000 --- a/public/README.md +++ /dev/null @@ -1,80 +0,0 @@ -fvuarjs logo 192x192 -# `fvuarJS v1.4.2` -Create your alert messages with fvuarJS! - -

- -### This is an example of the alert messages you created with us: -```javascript -const create = new feJS() -create.newAlert({ - text: "This is alert without taking advantage of fvuarJS.", -}) -``` - -

- -## Installation - -### CDN - -#### Copy this script and paste your html file. -```javascript - -``` - -

- -## Examples - -### The use of copiedClipboard() function is as in the example below: - -##### index.html -```html - - - - - - - - - - - -``` - -

- -| Functions | Parameters | Details | -| ----------| ------------- | -------- | -| `newAlert()` | `type`, `text`, `position`, `closeButtonText`, `time` | - `type`: You can determine the theme of your alert by choosing one of the following types: success, default, error, orange, info, warning.
- `text`: The articles you want to appear in the alert will be located here.
- `position`: top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right
- `closeButtonText`: You can specify the text to be written on the button that terminates your alert.
- `time`: You can specify the survival time of your alert (the value in seconds you enter, after which the alert will disappear). | -| `copiedClipboard()` | `target`, `type`, `text`, `position`,`closeButtonText`, `time` | - `target`: hedefin kendisini veya id sini verdiğiniz takdirde fonksiyon gidip o hedeflenen elementin içerisindeki metni kopyalar.
- `type`: You can determine the theme of your alert by choosing one of the following types: success, default, error, orange, info, warning.
- `text`: The articles you want to appear in the alert will be located here.
- `position`: top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right
- `closeButtonText`: You can specify the text to be written on the button that terminates your alert.
- `time`: You can specify the survival time of your alert (the value in seconds you enter, after which the alert will disappear). | - -

- - -# What's next? - -- [x] [minify-js](https://minify-js.com/) should release its compressed version. -- [x] A piece of code will be added that will allow the user to change the warning message location according to his needs. -- [x] copyToClipboard fonksiyonu id ile seçebilirken artık hem id si ile hem class'ı ile hemde kendisi ile bir seçim işlemi yapılabilsin. -- [ ] A code will be added so that the user can change the color of the text on the alert to the color he/she chooses. -- [ ] A piece of code will be added where the user can change the font size as he wishes. -- [ ] There will be a restriction on the maximum value of the text on the Alert close button. -- [ ] An animation will be added to Alert's existence and disappearance using css. diff --git a/public/_redirects b/public/_redirects index d3d4324..619e1af 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1 +1 @@ -/* / 200 \ No newline at end of file +/* /index.html 200 \ No newline at end of file