Skip to content

Custom template #12

@fabianoroberto

Description

@fabianoroberto

Please add possibility to specify another template or using this strategy:

templateUrl: function(element, attrs) {
    // default to 'old' template
    // only use other template if passed through the 'template-url' attribute
    return attrs.templateUrl || "/angular-time-picker.tpl.html";
}

or

templateUrl: function(elem,attrs) {
    return attrs.dataTemplateUrl || '/angular-time-picker.tpl.html'
}
<wy-time-picker 
    ...
    data-template-url="contentUrl"
    ...
>
</wy-time-picker>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions