Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mofron-comp-appbase

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mofron-comp-appbase - npm Package Compare versions

Comparing version 0.4.8 to 0.4.9

32

index.js

@@ -46,3 +46,2 @@ /**

this.addChild(this.header());
/* background area */

@@ -52,6 +51,5 @@ this.addChild(this.bgwrap());

/* contents */
let conts = new mf.Component({ width : '100%'});
let conts = new mf.Component({ width : '100%' });
this.addChild(conts);
this.target(conts.target());
} catch (e) {

@@ -70,4 +68,10 @@ console.error(e.stack);

*/
title (prm) {
try { return this.header().title(prm); } catch (e) {
title (prm, lg) {
try {
let ret = this.header().title(prm);
if (undefined !== lg) {
this.header().logo(lg);
}
return ret;
} catch (e) {
console.error(e.stack);

@@ -99,3 +103,3 @@ throw e;

if (true === mf.func.isInclude(prm, 'Component')) {
prm.execOption({
prm.option({
style : {

@@ -139,6 +143,3 @@ 'position' : 'relative',

prm.option({
effect : [
new Backgd(),
new Synwin([false, true], [0, hrd_ofs])
]
effect : [ new Backgd(), new Synwin([false, true], [0, hrd_ofs]) ]
});

@@ -193,12 +194,7 @@ } catch (e) {

try {
let bg = this.background();
let cnt = this.getChild(true)[2];
if (undefined === prm) {
/* getter */
return (null !== bg) ? bg.baseColor() : null;
cnt.style('background');
}
/* setter */
if (null === bg) {
this.background(new mf.Component());
}
this.background().option({ baseColor : prm });
mf.func.setColor(cnt, 'background', prm);
} catch (e) {

@@ -205,0 +201,0 @@ console.error(e.stack);

{
"name": "mofron-comp-appbase",
"version": "0.4.8",
"version": "0.4.9",
"description": "application base component for mofron",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc