Open frahmantamala opened 3 years ago
example
customOptions: OwlOptions = { navText: [ '<i id="test" class="fa-chevron-left"></i>', '<i class="fa-chevron-right></i>"' ] }
the result after render on the browser:
<i class="fa-chevron-left"></i>
expected : <i id="test" class="fa-chevron-left"></i>
<i id="test" class="fa-chevron-left"></i>
@frahmantamala
'<i id="test" class="fa-chevron-left"></i>', '<i class="fa-chevron-right></i>"' is set via [innerHTML] and absense of id="test" is caused by Angular sanitizer.
'<i id="test" class="fa-chevron-left"></i>', '<i class="fa-chevron-right></i>"'
id="test"
example
the result after render on the browser:
<i class="fa-chevron-left"></i>
expected :
<i id="test" class="fa-chevron-left"></i>