install
> npm i jquery
> npm i sweetalert2
> npm i toastr
> npm i px-jquery-wait
> npm i px-core
javascript - jquery
> require('px-jquery-wait'); or import 'px-jquery-wait';
> require('px-core'); or import 'px-core';
> core.default_root = "api"; //
optional first segment to be used in each request eg api/...
css
> @import "px-jquery-wait/px-wait.css"; //vite
> @import "~px-jquery-wait/px-wait.css"; //mix
> @import "toastr"; //vite
> @import "~toastr"; //mix
use
> - core.run("request_url", {params}, { form: "#formid or class - optional", waittext: "message to show until ajax result comes" }, function(e, err){ //e = data block returned as ajax result });
> - let filterdata = core.json.filter(jsonarray, fieldname, value); //core.json.sort() -- core.json.remove()
> - core.crypt.en("..."); core.crypt.de("....");
> - core.u.{ many methods }
description
>px-core is a suite of tools that includes a feature.
>
>core.js simplifies your ajax operations and is short. You can use it with core.run.
>
>core.utilities simplifies many javascript operations as a single use. core.u. You can use it with (methods).
>
>core.property is added to objects as a property and it makes your work easier by continuing to write from the end of the object.
>
>You can use ready events with core.events such as numericonly or moneyonly on inputs.
>
>You can do your crypto operations in core.crypt javascript. core.c.en("orgdata") and core.c.de("cryptdata")
>
>core.json adds additional features to your sorting and searching operations in your json data. core.j.filter, core.j.sort, core.j.remove, core.j.distinct
description TR
>px-core bir özelliği içinde barındıran bir araç paketidir.
>
>core.js ajax işlemlerinizi kolaylaştırır ve kısa kullanım olanağı sonunar. core.run ile kullanabilirsiniz.
>
>core.utilities bir çok javascript işlemini tek kullanım olarak kolaylaştırır. core.u. (methodlar) ile kullanabilirsiniz.
>
>core.property nesnelere özellik olarak eklenir ve nesne sonun dan yazıma devam ederek işinizi kolaylaştırır.
>
>core.events ile hazır olayları kullanabilirsiniz örneğin input larda numericonly veya moneyonly gibi.
>
>core.crypt javascript içerisinde kripto işlemlerinizi yapabilirsiniz. core.c.en("orgdata") ve core.c.de("cryptdata")
>
>core.json json datalarınızda sıralama ve arama işlemlerinize ek özellikler katar. core.j.filter, core.j.sort, core.j.remove, core.j.distinct