sc-data-binding-helpers

WebJar for sc-data-binding-helpers

License

License

MIT
Categories

Categories

Data
GroupId

GroupId

org.webjars.bowergithub.supportclass
ArtifactId

ArtifactId

sc-data-binding-helpers
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

sc-data-binding-helpers
WebJar for sc-data-binding-helpers
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/SupportClass/sc-data-binding-helpers

Download sc-data-binding-helpers

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-data-binding-helpers/ -->
<dependency>
    <groupId>org.webjars.bowergithub.supportclass</groupId>
    <artifactId>sc-data-binding-helpers</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-data-binding-helpers/
implementation 'org.webjars.bowergithub.supportclass:sc-data-binding-helpers:1.2.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.supportclass/sc-data-binding-helpers/
implementation ("org.webjars.bowergithub.supportclass:sc-data-binding-helpers:1.2.0")
'org.webjars.bowergithub.supportclass:sc-data-binding-helpers:jar:1.2.0'
<dependency org="org.webjars.bowergithub.supportclass" name="sc-data-binding-helpers" rev="1.2.0">
  <artifact name="sc-data-binding-helpers" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.supportclass', module='sc-data-binding-helpers', version='1.2.0')
)
libraryDependencies += "org.webjars.bowergithub.supportclass" % "sc-data-binding-helpers" % "1.2.0"
[org.webjars.bowergithub.supportclass/sc-data-binding-helpers "1.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.2,3)

Project Modules

There are no modules declared in this project.

Polymer.SCDataBindingHelpers Published on webcomponents.org Build Status

A Polymer 2.x mixin that provides some useful methods for data bindings. See the listing on webcomponents.org for full documentation (You'll need to click on "Show N protected methods" to see them).

Example

<dom-module id="my-element">
    <template>
        <style>
            :host {
                display: block;
            }
        </style>
        
        <template is="dom-if" if="[[_isTruthy(foo)]]">
            foo is: truthy
        </template>
        
        <template is="dom-if" if="[[_isFalsey(foo)]]">
            foo is: falsey
        </template>
    </template>
    
    <script>
        /**
         * @customElement
         * @polymer
         * @appliesMixin Polymer.SCDataBindingHelpers
         */
        class MyElement extends Polymer.SCDataBindingHelpers(Polymer.Element) {
            static get is() { 
                return 'my-element';
            }
            
            static get properties() { 
                return {
                    foo: {
                        type: String,
                        value: 'foo'
                    }
                };
            }
        }
        
        customElements.define(MyElement.is, MyElement);
    </script>
</dom-module>
org.webjars.bowergithub.supportclass

Support Class

We design and develop professional livestreams.

Versions

Version
1.2.0