##// END OF EJS Templates
polymer: prepare for 3.x migration
polymer: prepare for 3.x migration

File last commit:

r3149:a1e63a84 default
r3149:a1e63a84 default
Show More
rhodecode-unsafe-html.html
23 lines | 607 B | text/html | HtmlLexer
<link rel="import" href="../../../../../../bower_components/polymer/polymer.html">
<dom-module id="rhodecode-unsafe-html">
<template>
<style include="shared-styles"></style>
<slot></slot>
</template>
<script>
Polymer({
is: 'rhodecode-unsafe-html',
properties: {
text: {
type: String,
observer: '_handleText'
}
},
_handleText: function(newVal, oldVal){
this.innerHTML = this.text;
}
})
</script>
</dom-module>