baseframe-js
Advanced tools
Comparing version 4.9.0 to 4.9.1
@@ -34,2 +34,3 @@ import type { Cash } from "cash-dom"; | ||
selectId: string; | ||
isReadOnly: boolean; | ||
$label: Cash; | ||
@@ -36,0 +37,0 @@ $selectEnhance: Cash; |
@@ -34,2 +34,3 @@ import $ from 'cash-dom'; | ||
selectId; | ||
isReadOnly; | ||
$label; | ||
@@ -61,2 +62,3 @@ $selectEnhance; | ||
_.keyedInput = ""; | ||
_.isReadOnly = typeof _.$select.attr('readonly') === "string"; | ||
if (_.select.multiple) { | ||
@@ -72,3 +74,3 @@ console.warn(`The SelectEnhance plugin doesn't support multiple selections.`); | ||
_.setUpSelectHtml(); | ||
if (mobileOS && _.params.mobileNative) { | ||
if (mobileOS && _.params.mobileNative || _.isReadOnly) { | ||
_.mobileOnlyIfNavite(); | ||
@@ -305,3 +307,3 @@ } | ||
_.$selectEnhance = _.$select.parent(); | ||
if (mobileOS && _.params.mobileNative) { | ||
if (mobileOS && _.params.mobileNative || _.isReadOnly) { | ||
// exit if its a mobile device after wrapping for styling | ||
@@ -308,0 +310,0 @@ return; |
@@ -84,20 +84,2 @@ import $ from 'cash-dom'; | ||
}; | ||
// one state var to check if its installed the Store method | ||
// export let storeFnInstalled = false; | ||
// export const setStoreFnInstalled = () => storeFnInstalled = true; | ||
// function installStoreToLibrary(expose = false) { | ||
// storeFnInstalled = true; | ||
// if (expose) { | ||
// $.extend(Store, { | ||
// expose:(what: boolean | "ret"): void | WeakMap<object,any> => mapData.expose(what) | ||
// }); | ||
// } | ||
// $.extend({ store: Store }); | ||
// $.fn.extend({store: function (dataName, data) { | ||
// return elemData(this, dataName, data); | ||
// }}); | ||
// $.fn.extend({removeStore: function (dataName) { | ||
// Store.remove(this, dataName); | ||
// }}); | ||
// } | ||
export default Store; |
{ | ||
"name": "baseframe-js", | ||
"version": "4.9.0", | ||
"version": "4.9.1", | ||
"description": "A suite of useful Javascript plugins and functions to help with Front-end Development on websites", | ||
@@ -67,3 +67,3 @@ "repository": { | ||
"gulp-tap": "^2.0.0", | ||
"gulp-uglify": "^3.0.0", | ||
"gulp-uglify": "^3.0.2", | ||
"handlebars-helpers": "^0.10.0", | ||
@@ -70,0 +70,0 @@ "path": "^0.12.7", |
@@ -136,3 +136,3 @@ # Base_Frame Plugins & Functions | ||
Toastr for little dissmisable message to notify a user! | ||
__[View Tabs](#tabs-plugin)__ | ||
__[View Tabs](#toastr-plugin)__ | ||
#### Removing the plugin #### | ||
@@ -842,4 +842,4 @@ | ||
trapFocusElem | string | null | selector string (or can be dom element) if we need to extend the trap focus slightly outside the main nav element. | ||
stopPropagation | boolean | true, | Stops the click from propagating up in the DOM from the nav element. | ||
bkptEnable | number | null | Optinally specify when to enable the mobile navigation with screen width (in pixels). This will override whether or not the `enableBtn` is visible, which is the conditional that enables this menu to function. | ||
stopPropagation | boolean | true | Stops the click from propagating up in the DOM from the nav element. | ||
bkptEnable | number | null | Optionally specify when to enable the mobile navigation with screen width (in pixels). This will override whether or not the `enableBtn` is visible, which is the conditional that enables this menu to function. | ||
@@ -1030,3 +1030,3 @@ ### Example | ||
loadLocationHash | boolean | true | Add in location hash parameters to load default tabs. `#files=files-inner` loading multiple is possible if many diffrent tabs. Also load tabs within tabs and such as well. | ||
historyType | string | 'push' | If using using `useLocationHash` or a history of events, 'push' pushes a new state, and 'replace' replaces the current. | ||
historyType | 'push'\|'replace' | 'push' | If using using `useLocationHash` or a history of events, 'push' pushes a new state, and 'replace' replaces the current. | ||
tabbing | boolean | true | Enables tabbing with keyboard arrows. A tab list should only be focusable one at a time with the 'tab' key. | ||
@@ -1111,3 +1111,3 @@ tabDirection| string | 'horizontal' | Typically tabs are 'horizontal' but may also go 'vertical'. They take either or as an option, otherwise it'll throw a `console.warn` to correct. | ||
### Features | ||
Can set groups of toastr's with the `cssGroupKey` if there ever needs to be multiple toastr's at once. | ||
Can set groups of toastr's with the `cssGroupKey` if there ever needs to be multiple toastr's at once in various positions. | ||
@@ -1114,0 +1114,0 @@ ### Settings |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226631
87
3900