strolch-maven-archetypes/li.strolch.mvn.archetype.we.../src/main/resources/archetype-resources/src/main/webapp/app/src/behaviors/c-component-behavior.html

30 lines
975 B
HTML

<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/strolch-wc-util-behavior/strolch-wc-component-behavior.html">
<link rel="import" href="../../bower_components/strolch-wc-localize-behavior/strolch-wc-localize-behavior.html">
<script>
CustomComponentBehaviorImpl = {
properties: {
baseRestPath: {
type: String,
value: function () {
return CustomWeb.baseRestPath;
}
},
baseWsPath: {
type: String,
value: function () {
return CustomWeb.baseWsPath;
}
},
localesPath: {
type: String,
value: '../../../locales.json'
}
}
};
CustomComponentBehavior = [StrolchComponentBehavior, StrolchLocalizeBehavior, CustomComponentBehaviorImpl];
</script>