angular-strap

    0热度

    1回答

    我的结果有合法的括号,它们显示正常。 但是,当我关闭括号时,输入值会擦除括号内的任何内容。 Typing "frank" returns: frank<hotdog> frankenstein Typing "frank<hotdog" returns: frank<hotdog> Typing "frank<hotdog>" wipes out my input and repla

    0热度

    1回答

    我想解决翻译问题。图片您使用标准的角度带选择例如在应用程序: $scope.selectedIcon = ""; $scope.selectedIcons = ["Globe","Heart"]; $scope.icons = [{"value":"Gear","label":"<i class=\"fa fa-gear\"></i> Gear"},{"value":"Globe","labe

    0热度

    2回答

    我具有ngstrap预输入的问题与下面的情景无序多关键词查询: var companyItem= [ { "item_id": 1, "item_name": "mobile phone middle nokia", "company_id": 1, }, { "item_id": 2, "item_name": "mobile phone iphone", "company_

    0热度

    1回答

    财产“toLowerCase”当我试图使用angularstrap提示它导致此错误每次加载的项目: <span data-title="{{item.id}}" bs-tooltip delay="500"> </span> 它发生错误控制台: widgets.js:40761 TypeError: Cannot read property 'toLowerCase' of undefined

    3热度

    1回答

    我创建popovers: this.popover = $popover(this.element, { title: 'popover title', content: 'popover content', trigger: 'hover', container: 'body', html: true });

    1热度

    1回答

    我在多个下拉菜单中使用AngularStrap的Typeahead指令,有时显示值显示为选定值。 例如,如果我只想在输入字段中显示数字作为选定值,有时候会同时选择数字和说明。这里是相关的代码: <input type="text" class="form-control" bs-typeahead bs-options="x.num as (x.num > 0 ? x.nu

    1热度

    1回答

    我尝试使用角度带的工具提示时遇到此错误。任何想法为什么会发生以及如何解决它? GET http://localhost:3000/tooltip/tooltip.tpl.html 404 (Not Found) 我的代码看起来像; var initTooltipAge = function() { // Tooltip Validation workaround https://

    0热度

    1回答

    我正在尝试使用Angular-Strap和$alert服务在我的AngularJS应用程序中实现自动警报。然而,迄今为止这么好,我留下了一个我似乎无法解决的问题。 当我使用duration属性或alert.hide()命令隐藏$alert时,我可以设置一个回调来捕获回调吗?我想在警报进入隐藏状态时运行一个函数。 我的代码片段看起来是这样的: var alertContent = '';

    0热度

    1回答

    使用AngularStrap。从控制器调用$ dropdown服务不会显示下拉菜单,但点击这些项目不会调用相应的代码。 普拉克来证明这一点。 http://plnkr.co/edit/tNAX7liFSNh71XcOUecs var dropdown = $dropdown(element, { show: false, trigger: "manual",

    2热度

    2回答

    我用下面的代码片段显示一个简单的模式冻结: $modal({ title: 'My Title', template: 'path/to/my/simple.modal.html', show: true, scope: $scope }); 关闭模式我的网页的某些部分没有任何事件做出反应之后。在所有其他浏览器中,这工作正常。 真的很奇怪,我无法在关闭