![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ember-cli-bootstrap3-popover
Advanced tools
This addon allows you to quickly and conveniently create a Bootstrap3 Popover.
This addon allows you to quickly and conveniently create a Bootstrap3 Popover.
The demonstration web application can be found here: http://ember-cli-bootstrap3-popover.cybertooth.io/.
This addon supplies the following components:
twbs-popover
- a container-like element for the popover's markup, options, methods, and events.twbs-popover/content
- a component you nest inside a twbs-popover
that will generate
the content for the popover.twbs-popover/title
- a component you nest inside a twbs-popover
that will generate
the title for the popover.twbs-popover/trigger
- the component you nest inside a twbs-popover
that acts as the bound element for the
popover and in normal trigger events will accept clicks, hovering, and focus events to toggle the popover.The following mixin also ships with this addon:
Popover
- imported as import Popover as 'ember-cli-bootstrap3-popover/mixins/popover'
and includes all of the
popover options as found in the Bootstrap documentation.Further information about these items can be found in the Usage section below.
The following will install this addon:
ember install ember-cli-bootstrap3-popover
As mentioned, you must install Bootstrap3 along with the tooltip plugin. See the requirements section above.
When working through the Ember upgrade process, I recommend
invoking the ember install ember-cli-bootstrap3-popover
command once
you are done to get the latest version of the addon.
As mentioned above there are dozens of examples on the demonstration site: http://ember-cli-bootstrap3-popover.cybertooth.io/
{{twbs-popover}}
A component that contains all of the markup associated with the popover. You can nest {{twbs-popover.content}}
,
{{twbs-popover.title}}
, and {{twbs-popover.trigger}}
inside this components block.
The reason this addon requires Ember-2.3.0+ is because this particular component uses the hash helper.
Be aware that when you nest either the content or title it will be automatically treated as html.
Popover
mixin.onShow
- the property that accepts an action closure hooked to the bootstrap show.bs.popover
event.onShown
- the property that accepts an action closure hooked to the bootstrap shown.bs.popover
event.onHide
- the property that accepts an action closure hooked to the bootstrap hide.bs.popover
event.onHidden
- the property that accepts an action closure hooked to the bootstrap hidden.bs.popover
event.onInserted
- the property that accepts an action closure hooked to the bootstrap inserted.bs.popover
event.The following popover methods are exposed as actions:
hide
- triggers the hiding of a popover.show
- triggers the showing of a popover.toggle
- toggles a popover.{{twbs-popover/content}}
A component that nests inside of a {{#twbs-popover}}
and generates the content for a popover via its block.
This component promotes the easy re-use of existing components inside the popover content and encourages readable html.
{{twbs-popover/title}}
A component that nests inside of a {{#twbs-popover}}
and generates the title for a popover via its block.
This component promotes the easy re-use of existing components inside the popover title and encourages readable html.
{{twbs-popover/trigger}}
A component that nests inside of a {{#twbs-popover}}
and generates the html element that the popover is bound to.
When the popover is initialized, the markup inside this component becomes the popover.
Seriously, check out the examples and all of this will make sense: http://ember-cli-bootstrap3-popover.cybertooth.io/
Popover
A mixin that provides access to all of the Bootstrap popover options as found here: http://getbootstrap.com/javascript/#popovers-options
animation?
(aliased to animation
)- Default true
content
- Default ''
delay
- Default 0
delayHide
- Default undefined
delayShow
- Default undefined
html?
(aliased to html
) - Default false
placement
- Default 'right'
popoverContainer
- Default false
popoverTemplate
- Default '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
popoverTrigger
- Default 'click'
selector
- Default false
title
- Default ''
getOptions()
- returns a hash containing the options from this mixin
that are used to initialize the Bootstrap popover.$ git clone git@github.com:cybertoothca/ember-cli-bootstrap3-popover.git
npm install
yarn
ember server
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versionsember build
For more information on using ember-cli, visit http://ember-cli.com/.
npm link
command to link this addon within your local
node repository.npm link ember-cli-bootstrap3-popover
.package.json
and add the ember addon with the version *. It will
look something like this: "ember-cli-bootstrap3-popover": "*"
. Now
when/if you execute npm install
on this other project it
will know to look for the linked addon rather than fetch it from
the central repository.npm uninstall -g ember-cli-bootstrap3-popover
ember-cli-bootstrap3-popover
in your other project's package.json
.npm prune
and bower prune
from the root of your other project's command line.Make sure your ~/.aws/credentials
file has a profile named cybertooth
with a valid key and secret,
[cybertooth]
aws_access_key_id = <KEY>
aws_secret_access_key = <SECRET>
Deploy by invoking the following command: ember deploy production
Confirm your changes are showing up in our S3 container: http://ember-cli-bootstrap3-popover.cybertooth.io/
npm version x.y.z-sub.#
git push
git push --tags
npm publish
This project is licensed under the MIT License.
FAQs
This addon allows you to quickly and conveniently create a Bootstrap3 Popover.
The npm package ember-cli-bootstrap3-popover receives a total of 106 weekly downloads. As such, ember-cli-bootstrap3-popover popularity was classified as not popular.
We found that ember-cli-bootstrap3-popover demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.