0.0.7 • Published 1 year ago

ui5-cc-tl v0.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

UI5 custom control ui5-cc-cc.tl

(brief description)

Install

$> yarn add ui5-cc-cc.tl
# or
$> npm install ui5-cc-tl

Included controls

  • (control): (description)
    • properties: -
    • aggregations: -

Usage

  1. define the dependeny in $yourapp/package.json

    // it is already in "dependencies" after installation
    "ui5": {
      "dependencies": [
        // ...
        "ui5-cc-tl",
        // ...
      ]
    }
  2. declare the namespace in your XML view and use the custom control from that namespace

    <mvc:View ...
            xmlns:cc.tl="cc.cc.tl"
            ...>
       <cc.tl:Control />
    </mvc:View>

How it works

(describe how it, well, works)

Build time (in apps)

Use ui5 build --all to produce a deployable version of your app including ui5-cc-cc.tl and its’ control(s).

Other than that, nothing specific to note for using ui5-cc-cc.tl in builds in UI5 apps.

Tests

The test folder contains a minimal UI5 app requiring ui5-cc-cc.tl.

For testing manually, do:

$> yarn test:manual # runs ui5 serve
# now point a browser to http://localhost:8080

The livereload middleware is included, so changes to the test app get reloaded immediately.

A full automated test suite is setup with Jest + puppeteer, starting ui5 serve and running all /test/**/*.test.js :

$> cd test/ui5-app
$> yarn # for installing runtime dependencies
$> cd ..
$> yarn test
# sample output:
 ...

License

This work is dual-licensed under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0, but ultimately you can choose between one of them if you use this work.

When you like this stuff, buy you a drink when you see the person.

0.0.7

1 year ago

0.0.1

1 year ago

1.0.8

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago