simple-boot-front
Advanced tools
Comparing version 1.0.37 to 1.0.38
{ | ||
"name": "simple-boot-front", | ||
"version": "1.0.37", | ||
"version": "1.0.38", | ||
"main": "SimpleApplication.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
[![Single Page Application Framworks](assets/banner.png)](https://svelte.dev) | ||
[![npm version](https://img.shields.io/badge/npm-v1.0.37-blue)](https://www.npmjs.com/package/simple-boot-front) [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE.md) [![Chat](https://img.shields.io/badge/discord-20%20online-brightgreen?logo=discord)](https://discord.gg/PW56dpns) [![Github](https://img.shields.io/badge/-github-black?logo=github)](https://github.com/visualkhh/simple-boot-front) | ||
[![npm version](https://img.shields.io/badge/npm-v1.0.38-blue)](https://www.npmjs.com/package/simple-boot-front) [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE.md) [![Chat](https://img.shields.io/badge/discord-20%20online-brightgreen?logo=discord)](https://discord.gg/PW56dpns) [![Github](https://img.shields.io/badge/-github-black?logo=github)](https://github.com/visualkhh/simple-boot-front) | ||
@@ -81,3 +81,3 @@ Single Page Application Framworks for Web | ||
constructor(public v: ViewService, public manager: SimstanceManager, public navigation: Navigation) { | ||
super("index",{template: html}); | ||
super({template: html}); | ||
} | ||
@@ -99,3 +99,3 @@ | ||
<ul> | ||
<li>ajax example page: <a router-link="">ajax</a></li> | ||
<li>ajax example page: <a router-link="/ajax">ajax</a></li> | ||
</ul> | ||
@@ -130,3 +130,3 @@ | ||
<!--%module(this.data)%--> | ||
data link change event <input type="text" module-link="data"> | ||
data link change event <input type="text" module-value-link="data"> | ||
</div> | ||
@@ -152,4 +152,3 @@ </div> | ||
- method | ||
- module: module include (Wrap element) | ||
- stripModule: module include (no Wrap Element) | ||
- module: module include | ||
- ex | ||
@@ -159,3 +158,2 @@ ```html | ||
<div><!--%module(this.aModule)%--></div> | ||
<div><!--%stripModule(this.aModule)%--></div> | ||
<div> | ||
@@ -168,2 +166,9 @@ <!--% | ||
</div> | ||
<div> | ||
<!--% | ||
for(var i = 0 ; i < this.count ; i ++) { | ||
write("<img src='https://cdn.imweb.me/thumbnail/20190912/460132b4e4fce.jpg' module-change-attr=\"return {height: this.size, width: this.size}\">"); | ||
} | ||
%--> | ||
</div> | ||
``` | ||
@@ -196,3 +201,3 @@ | ||
constructor(public testService: TestService) { | ||
super('Ctitle', { | ||
super({ | ||
template: 'value:(<!--% write(this.value) %--> <button module-event-click="cc">CC</button>)', | ||
@@ -265,3 +270,3 @@ value: 'default value' | ||
constructor() { | ||
super("app-layout-module", {template: html, styleImports:[css]}); | ||
super({template: html, styleImports:[css]}); | ||
} | ||
@@ -274,3 +279,3 @@ } | ||
constructor() { | ||
super("app-info", {template: '<div><h3>info</h3><!--%write(this.datas)%--></div>'}); | ||
super({template: '<div><h3>info</h3><!--%write(this.datas)%--></div>'}); | ||
} | ||
@@ -356,11 +361,11 @@ data(i: Intent) { | ||
- subscribe | ||
```typescript | ||
data(i: Intent) { | ||
this.datas = i.data + '->' + i.params.aa | ||
} | ||
viewSubscribe(i: Intent<View<HTMLInputElement>>) { | ||
this.datas = i.data?.value + '->' + i.params.aa + '-->' + i.event | ||
} | ||
``` | ||
- subscribe | ||
```typescript | ||
data(i: Intent) { | ||
this.datas = i.data + '->' + i.params.aa | ||
} | ||
viewSubscribe(i: Intent<View<HTMLInputElement>>) { | ||
this.datas = i.data?.value + '->' + i.params.aa + '-->' + i.event | ||
} | ||
``` | ||
* css | ||
@@ -367,0 +372,0 @@ - **moduleIdAttrSelector()**: module Dedicated style |
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
223465
375