Search completed in 0.88 seconds.
<easing-function> - CSS: Cascading Style Sheets
the <
easing-function> css data type denotes a mathematical function that describes how fast one-dimensional values change during animations.
... the
easing functions in the cubic-bezier subset of
easing functions are often called "smooth"
easing functions, because they can be used to smooth down the start and end of the animation.
... syntax there are three types of
easing function: linear, cubic bézier curves, and staircase functions.
...And 21 more matches
EffectTiming.easing - Web APIs
the effecttiming dictionary's
easing property in the web animations api specifies the timing function used to scale the time to produce
easing effects, where
easing is the rate of the animation's change over time.
... element.animate(), keyframeeffectreadonly(), and keyframeeffect() all accept an object of timing properties including
easing.
... the value of
easing corresponds directly to animationeffecttimingreadonly.
easing in timing objects returned by animationeffectreadonly, keyframeeffectreadonly, and keyframeeffect.
...And 3 more matches
The Business Benefits of Web Standards - Archive of obsolete content
there should be little need to plunge into the incr
easing costs and uncertain quality and integrity of proprietary pay per click campaigns.
...while some browsers have quirks that cause different behavior by platform, mozilla-based browsers are designed to behave identically on all supported platforms (mac, linux, unix, windows...) web content is incr
easingly being accessed by a growing number of user agents other than browsers, or by browsers on different platforms - for example mobile telephones.
...incr
easingly one person may need to acccess the same site using different platforms at home, in the office and when travelling.
...And 5 more matches
Index - Web APIs
125 audiocontext.close() api, audiocontext, media, method, reference, web audio api, close the close() method of the audiocontext interface closes the audio context, rel
easing any system audio resources that it uses.
... 246 baseaudiocontext.currenttime api, audiocontext, baseaudiocontext, property, reference, web audio api, currenttime the currenttime read-only property of the baseaudiocontext interface returns a double representing an ever-incr
easing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc.
... 826 detecting device orientation api, device orientation, intermediate, mobile, motion, orientation, reference incr
easingly, web-enabled devices are capable of determining their orientation; that is, they can report data indicating changes to their orientation with relation to the pull of gravity.
...And 5 more matches
Intersection Observer API - Web APIs
const numsteps = 20.0; let boxelement; let prevratio = 0.0; let incr
easingcolor = "rgba(40, 40, 190, ratio)"; let decr
easingcolor = "rgba(190, 40, 40, ratio)"; // set things up window.addeventlistener("load", (event) => { boxelement = document.queryselector("#box"); createobserver(); }, false); the constants and variables we set up here are: numsteps a constant which indicates how many thresholds we want to have between a visibility ratio of 0.0 and 1.0.
... incr
easingcolor a string defining a color we'll apply to the target element when the visibility ratio is incr
easing.
... the word "ratio" in this string will be replaced with the target's current visibility ratio, so that the element not only changes color but also becomes incr
easingly opaque as it becomes less obscured.
...And 4 more matches
KeyframeEffect.setKeyframes() - Web APIs
the
easing to apply between keyframes can be specified by providing an
easing value as illustrated below.
... element.animate([ { opacity: 1,
easing: 'ease-out' }, { opacity: 0.1,
easing: 'ease-in' }, { opacity: 0 } ], 2000); in this example, the specified
easing only applies from the keyframe where it is specified until the next keyframe.
... any
easing value specified on the options argument, however, applies across a single iteration of the animation — for the entire duration.
...And 4 more matches
Keyframe Formats - Web APIs
the
easing to apply between keyframes can be specified by providing an
easing value as illustrated below.
... element.animate([ { opacity: 1,
easing: 'ease-out' }, { opacity: 0.1,
easing: 'ease-in' }, { opacity: 0 } ], 2000); in this example, the specified
easing only applies from the keyframe where it is specified until the next keyframe.
... any
easing value specified on the options argument, however, applies across a single iteration of the animation — for the entire duration.
...And 4 more matches
Applying styles and colors - Web APIs
by incr
easing the steps, you can achieve something that looks like the color palettes photoshop uses.
...every step in the for loop draws a set of circles with an incr
easing radius.
...by incr
easing the step count and in effect drawing more circles, the background would completely disappear from the center of the image.
...And 3 more matches
Building up a basic demo with A-Frame - Game development
add the <a-animation> element seen below to the <a-box> element as a child, as shown: <a-box color="#0095dd" rotation="20 40 0" position="0 1 0"> <a-animation attribute="rotation" from="20 0 0" to="20 360 0" direction="alternate" dur="4000" repeat="indefinite"
easing="ease"> </a-animation> </a-box> as with any other entities, you can define key properties for the animation.
...the animation uses ease for
easing, with tween.js being implemented internally.
...the following <a-animation> element to your torus: <a-entity geometry=" primitive: torus; radius: 1; radiustubular: 0.1; segmentstubular: 12;" material=" color: #eaeff2; roughness: 0.1; metalness: 0.5;" rotation="10 0 0" position="-3 1 0"> <a-animation attribute="scale" to="1 0.5 1" direction="alternate" dur="2000" repeat="indefinite"
easing="linear"> </a-animation> </a-entity> the attribute we want to animate for the torus is scale.
...the
easing we're going to use is linear.
Work with animations - Firefox Developer Tools
the bar is shaped to reflect the
easing effect used for the animation.
... if you hover over the bar, a tooltip appears, giving you more detailed information about the animation or transition, including: the type of animation: css transition, css animation, or web animations api the duration of the animation the animation's start and end delay the animation's
easing (or timing function).
... the img#icon animation: animated the filter and transform properties, to scale the icon and color it lasted 750ms, had an enddelay of 100ms used the compositor thread was given an
easing value of ease-in: you can see this by the concave shape of the green bar.
... the span#note animation: animated the width and opacity properties, to make the name gradually appear lasted 500ms, and had a delay of 150ms was given an
easing value of ease-out: you can see this by the convex shape of the green bar.
IDBCursorSync - Web APIs
constants constant value description next 0 this cursor includes duplicates, and its direction is monotonically incr
easing in the order of keys.
... next_no_duplicate 1 this cursor does not include duplicates, and its direction is monotonically incr
easing in the order of keys.
... prev 2 this cursor includes duplicates, and its direction is monotonically decr
easing in the order of keys.
... prev_no_duplicate 3 this cursor does not include duplicates, and its direction is monotonically decr
easing in the order of keys.
Inputs and input sources - Web APIs
if the primary action ends successfully (for example, due to the user rel
easing the button or trigger), rather than because of an error, the select event is sent.
...the code presumes the existence of an avatar object representing the character, as used in several other eamples on this page, as well as the pickupobject() and dropobject() functions, which handle transferring an object from the world to a particular hand and rel
easing an object from the hand and placing it back into the world.
... dropping the object: the squeeze event handler the squeeze event is received when the user ends the squeeze action by rel
easing their grip.
... in this example, we interpret that as rel
easing the currently-held object, dropping it into the scene at the targeted location.
Using the Web Animations API - Web APIs
and instead of timing-function we use
easing.
... we aren’t listing an
easing value here because, unlike css animations where the default animation-timing-function is ease, in the web animations api the default
easing is linear — which is what we want here.
... pausing and playing animations we’ll talk more about alice’s animation later, but for now, let’s look closer at the cupcake’s animation: var nommingcake = document.getelementbyid('eat-me_sprite').animate( [ { transform: 'translatey(0)' }, { transform: 'translatey(-80%)' } ], { fill: 'forwards',
easing: 'steps(4, end)', duration: alicechange.effect.timing.duration / 2 }); the element.animate() method will immediately run after it is called.
...noticed something odd about the cake’s duration: duration: alicechange.effect.getcomputedtiming().duration / 2 to understand what’s happening here, let’s take a look at alice’s animation: var alicechange = document.getelementbyid('alice').animate( [ { transform: 'translate(-50%, -50%) scale(.5)' }, { transform: 'translate(-50%, -50%) scale(2)' } ], { duration: 8000,
easing: 'ease-in-out', fill: 'both' }); alice’s animation has her going from half her size to twice her size over 8 seconds.
Appendix: What you should know about open-source software licenses - Archive of obsolete content
picking a license for original works if you are rel
easing source code you have developed yourself, you need to pick a license.
...(matsumoto updated his free software license diagnostic for a special open-source section in the january 2007 edition of softbank’s open source magazine.) if a company is considering rel
easing its own software as open source, it should consider dual-licensing or the cpl.
...this is easy to use when you are rel
easing new documents.
Index - Archive of obsolete content
the same process occurs when decr
easing the size, except in the other direction.
...this means that while the release is immature in some areas such as embedding, application deployment, and os integration, it can be used by developers that are rel
easing standalone xul applications.
...chome is not mentioned at all, but is becoming incr
easingly popular.
Animations and tweens - Game development
go to your ballhitbrick() function, find your brick.kill(); line, and replace it with the following: var killtween = game.add.tween(brick.scale); killtween.to({x:0,y:0}, 200, phaser.
easing.linear.none); killtween.oncomplete.addonce(function(){ brick.kill(); }, this); killtween.start(); let's walk through this so you can see what's happening here: when defining a new tween you have to specify which property will be tweened — in our case, instead of hiding the bricks instantly when hit by the ball, we will make their width and height scale to zero, so they will nicely disa...
...it takes an object containing the chosen parameter's desired ending values (scale takes a scale value, 1 being 100% of size, 0 being 0% of size, etc.), the time of the tween in milliseconds and the type of
easing to use for the tween.
... that's the expanded version of the tween definition, but we can also use the shorthand syntax: game.add.tween(brick.scale).to({x:2,y:2}, 500, phaser.
easing.elastic.out, true, 100); this tween will double the brick's scale in half a second using elastic
easing, will start automatically, and have a delay of 100 miliseconds.
IDBCursor - Web APIs
it has a position within the range, and moves in a direction that is incr
easing or decr
easing in the order of record keys.
...it starts at the lower bound of the key range and moves upwards (monotonically incr
easing in the order of keys).
...it starts at the upper bound of the key range and moves downwards (monotonically decr
easing in the order of keys).
WebSocket.send() - Web APIs
the websocket.send() method enqueues the specified data to be transmitted to the server over the websocket connection, incr
easing the value of bufferedamount by the number of bytes needed to contain the data.
... arraybuffer you can send the underlying binary data used by a typed array object; its binary data contents are queued in the buffer, incr
easing the value of bufferedamount by the requisite number of bytes.
... arraybufferview you can send any javascript typed array object as a binary frame; its binary data contents are queued in the buffer, incr
easing the value of bufferedamount by the requisite number of bytes.
WindowOrWorkerGlobalScope.setInterval() - Web APIs
it is called with three arguments: index (the iterative index of each invocation), length (the number of total invocations assigned to the daemon - finite or infinity) and backwards (a boolean expressing whether the index is incr
easing or decr
easing).
...it is called with three arguments: index (the iterative index of each invocation), length (the number of total invocations assigned to the daemon - finite or infinity) and backwards (a boolean expressing whether the index is decr
easing or not) – see above.
... mydaemon.start([reverse]) starts the daemon forward (index of each invocation incr
easing) or backwards (index decr
easing).
JavaScript Daemons Management - Archive of obsolete content
mydaemon.start([backwards]) starts the daemon forwards (index of each invocation incr
easing) or backwards (index decr
easing).
... mydaemon.close([backwards[, force]]) closes the daemon, doing synchronously all pending operations forward (index of each invocation incr
easing) or backwards (index decr
easing).
From object to iframe — other embedding technologies - Learn web development
the html generated by the adobe flash tool tended to be even worse, using an <object> element with an <embed> element embedded in it, to cover all bases (check out an example.) flash was even used successfully as fallback content for html5 video, for a time, but this is incr
easingly being seen as not necessary.
...everyone has a browser, but plugins are incr
easingly rare, especially among mobile users.
Package management basics - Learn web development
these are the files you would upload to your web server when rel
easing the site online for public consumption.
...there's improvements being made all the time and the choice, for better or worse, is constantly incr
easing.
PRIntervalTime
a platform-dependent type that represents a monotonically incr
easing integer--the nspr runtime clock.
... the incr
easing interval value represented by printervaltime wraps.
PR_Now
you cannot assume that the values returned by pr_now() are monotonically incr
easing because the system clock of the computer may be reset.
... to obtain monotonically incr
easing time stamps suitable for measuring elapsed time, use pr_intervalnow().
Starting WebLock
ns_imethodimp weblock::getsites(nsisimpleenumerator * *asites) { myenumerator* enumerator = new myenumerator(mrooturlnode); if (!enumerator) return ns_error_out_of_memory; ns_addref(*asites = enumerator); return ns_ok; } addref, rel
easing, and deleting objects never forget to addref an xpcom object which you instantiate via new.
...it can take hours to find the source of crashes that are caused when one part of a system is deleting xpcom objects instead of rel
easing them.
AudioWorkletGlobalScope - Web APIs
properties currentframe read only returns an integer that represents the ever-incr
easing current sample-frame of the audio block being processed.
... currenttime read only returns a double that represents the ever-incr
easing context time of the audio block being processed.
HTML Drag and Drop API - Web APIs
the user may select draggable elements with a mouse, drag those elements to a droppable element, and drop them by rel
easing the mouse button.
... dragend ondragend …a drag operation ends (such as rel
easing a mouse button or hitting the esc key; see finishing a drag.) dragenter ondragenter …a dragged item enters a valid drop target.
Pinch zoom gestures - Web APIs
if two pointers are down, and the distance between the pointers is incr
easing (signifying a pinch out or zoom in), the element's background color is changed to pink, and if the distance between the pointers is decr
easing (a pinch in or zoom out), the background color is changed to lightblue.
... // // if the distance between the two pointers has increased (zoom in), // the target element's background is changed to "pink" and if the // distance is decr
easing (zoom out), the color is changed to "lightblue".
Fundamentals of WebXR - Web APIs
however, incr
easing the fov can also increase the weight and cost of the headset.
... the user's activity may be monitored using motion sensors that are worn or held by the user, or, incr
easingly commonly, using infrared cameras that detect the user's movements.
Rendering and the WebXR frame animation callback - Web APIs
120 hz—or 120 frame per second—displays are incr
easingly common, for example.
... this is important because as the computer becomes incr
easingly busy, it may not be able to accurately call your callback every frame and may have to skip frames.
Starting up and shutting down a WebXR session - Web APIs
important: you should always test your code on actual ar and/or vr hardware before rel
easing or shipping a product!
... if you have work that must be done when the session ends, such as rel
easing resources and the like, you should do that work in your end event handler rather than in your main code body.
XRSession.onselectend - Web APIs
the onselectend attribute of the xrsession object is the event handler for the selectend event, which is dispatched when user finishes making some sort of selection by rel
easing a trigger, touchpad, or button, finishes speaking a command, or makes a hand gesture.
... for example, this might include rel
easing a button or joystick.
Event reference
dragend a drag operation is being ended (by rel
easing a mouse button or hitting the escape key).
... dragend dragevent html5 a drag operation is being ended (by rel
easing a mouse button or hitting the escape key).
Memory Management - JavaScript
if the dom element holds a large amount of data (illustrated in the above example with the "lotsofdata" property), the memory consumed by this data will never be released and can lead to memory related issues such as the browser becoming incr
easingly slower.
... limitation: rel
easing memory manually there are times when it would be convenient to manually decide when and what memory is released.
Array - JavaScript
ruits.length) // 3 when setting a property on a javascript array when the property is a valid array index and that index is outside the current bounds of the array, the engine will update the array's length property accordingly: fruits[5] = 'mango' console.log(fruits[5]) // 'mango' console.log(object.keys(fruits)) // ['0', '1', '2', '5'] console.log(fruits.length) // 6 incr
easing the length.
... fruits.length = 10 console.log(fruits) // ['banana', 'apple', 'peach', empty x 2, 'mango', empty x 4] console.log(object.keys(fruits)) // ['0', '1', '2', '5'] console.log(fruits.length) // 10 console.log(fruits[8]) // undefined decr
easing the length property does, however, delete elements.
k - SVG: Scalable Vector Graphics
the k attribute specifies the amount for decr
easing the spacing between the two glyphs in a kerning pair.
... two elements are using this attribute: <hkern> and <vkern> context notes value <number> default value none animatable no <number> this value indicates the amount for decr
easing the spacing between the two glyphs in the kerning pair.
Rosetta - Archive of obsolete content
nevertheless, the incr
easing computational power of modern browsers together with the introduction of typed arrays in ecmascript allow us, in theory, to build full virtual machines in pure ecmascript.
Code snippets - Archive of obsolete content
nevertheless, the incr
easing computational power of modern browsers together with the introduction of typed arrays in ecmascript allow us, in theory, to build full virtual machines in pure ecmascript.
Local Storage - Archive of obsolete content
you'll need to carefully add migration code that moves the data from the old db format to the new, and this becomes incr
easingly complex as you add new versions and new structure changes.
CSS3 - Archive of obsolete content
motion path module level 1 working draft css fonts module level 4 working draft css
easing functions level 1 working draft css logical properties and values level 1 editor's draft modules in the revising phase modules that are in the revising phase are much less stable than those in the refining phase.
Deploying XULRunner - Archive of obsolete content
this means that while the release is immature in some areas such as embedding, application deployment, and os integration, it can be used by developers that are rel
easing standalone xul applications.
2006-11-3 - Archive of obsolete content
discussions last check-ins on sun-calendar-event-dialog.* files last check-ins on sun-calendar-event-dialog.* files from 50 to 100 locales how to get from the 50 locales and rel
easing 40 to a hundred.
LiveConnect - Archive of obsolete content
the reimplementation also restores the ability to use try-catch exceptions within javascript, and is free of the incr
easing number of other bugs introduced by the decline of the original liveconnect (e.g., java.lang.string and arrays not working properly).
3D games on the Web - Game development
there's an ongoing effort on rel
easing webgl 2.0 (based on opengl es 3.0) in the near future, which will bring many improvements and will help developers build games for the modern web using current, powerful hardware.
Mobile accessibility - Learn web development
there are certain situations where zooming might break the ui; in such cases, if you feel that you absolutely need to disable zoom, you should provide some other kind of equivalent, such as a control for incr
easing the text size in a way that doesn't break your ui.
Organizing your CSS - Learn web development
defining variables css now has native custom properties, making this feature incr
easingly less important, however one of the reasons you might use sass is to be able to define all of the colors and fonts used in a project as settings, then use that variable around the project.
The web and web standards - Learn web development
you wouldn't want a single company suddenly deciding to put the entire web behind a paywall, or rel
easing a new version of html that everyone has to buy to continue making web sites, or worse still, just deciding they aren't interested any more and just turning it off.
Index - Learn web development
119 handling different text directions beginner, css, learn, logical properties, writing modes the concepts explained in this lesson are becoming incr
easingly important in css.
Command line crash course - Learn web development
the pipe operator can connect these inputs and outputs together, allowing us to build up incr
easingly more complex operations to suit our needs — the output from one command can become the input to the next command.
Testopia
this decision allows us to focus our time more on rel
easing new features often and early rather than back porting.
Eclipse CDT
problem occurred (java heap space) if eclipse becomes glacially slow or hangs and then you get this error message, see the incr
easing memory limits section above.
source-editor.jsm
destroy() destroys the editor, rel
easing resource it's allocated and removing event handlers it's installed.
Localization quick start guide
we will take you through the steps to get started, from the initial environment setup to testing and rel
easing your own localization.
Gecko Profiler FAQ
that tree is then displayed in the usual way, with weights in decr
easing order from top to bottom.
Refcount tracing and balancing
so from this, we can deduce that main() is correctly rel
easing the refcount that it got on the object returned from dosomethingwithfooandreturnittoo(), so the leak must be somewhere in that function.
MailNews
mailnews automated testing automated testing is an incr
easingly significant and important part of mailnews development.
McCoy
rel
easing an update once you are ready to release an updated version of your add-on you must create yourself an update.rdf file.
NSPR Contributor Guide
these guidelines should help the contributor in crafting his contribution, incr
easing its likelihood for acceptance.
PR_Unlock
rel
easing an unlocked lock results in an error.
Index
issueraltnames non-critical name-list where: subjaltnames: identifies the name of an extension should be set to 0 since this is non-critical extension name-list: comma separated list of names * add crl number extension: the crl number is a non-critical crl extension which conveys a monotonically incr
easing sequence number for a given crl scope and crl issuer.
NSS tools : crlutil
issueraltnames non-critical name-list where: subjaltnames: identifies the name of an extension should be set to 0 since this is non-critical extension name-list: comma separated list of names * add crl number extension: the crl number is a non-critical crl extension which conveys a monotonically incr
easing sequence number for a given crl scope and crl issuer.
troubleshoot.html
some systems may not be configured to allow this many simultaneous connections by default; if the stress tests fail, try incr
easing the number of simultaneous sockets supported.
NSS Tools crlutil
issueraltnames non-critical name-list where: subjaltnames: identifies the name of an extension should be set to 0 since this is non-critical extension name-list: comma separated list of names add crl number extension: the crl number is a non-critical crl extension which conveys a monotonically incr
easing sequence number for a given crl scope and crl issuer.
NSS tools : crlutil
issueraltnames non-critical name-list where: subjaltnames: identifies the name of an extension should be set to 0 since this is non-critical extension name-list: comma separated list of names * add crl number extension: the crl number is a non-critical crl extension which conveys a monotonically incr
easing sequence number for a given crl scope and crl issuer.
Rhino history
since its release to open source, rhino has found a variety of uses and an incr
easing number of people have contributed to the code.
JSAPI User Guide
some applications can reduce the frequency of garbage collection simply by incr
easing the initial size of the jsruntime.
Places Developer Guide
however, firefox developers can take advantage of several helper apis that are browser-specific: fuel - a collection of wrapper apis for
easing access to a number of firefox utilities and services nsiplacestransactionsservice - a firefox service for modifying bookmarks in a transactional manner, providing facilities for undo/redo places utilities for javascript - accessors and helper functions for firefox and extensions creating bookmarks, folders and other items creating a bookmark // create an nsiuri for the url to be bookmarked.
An Overview of XPCOM
the members of this interface, queryinterface, addref, and release, provide the basic means for getting the right interface from an object, incrementing the reference count, and rel
easing objects once they are not being used, respectively.
Index
548 nsidirectoryenumerator directories, file i/o, interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference closes the directory being enumerated, rel
easing the system resource.
nsAutoRef
in order to use nsautoref<t> for a class t associated with a particular resource type, the type of the handle to the resource and the method for rel
easing the resource must be provided for class t.
nsCountedRef
in order to use nscountedref<t> for a class t associated with a particular resource type, the type of the handle to the resource and the methods for referencing and rel
easing the resource must be provided for class t.
nsIMutableArray
clear() clear the entire array, rel
easing all stored objects.
nsITextInputProcessor
var bkeyevent = new keyboardevent("", { key: "b", code: "keyb", keycode: keyboardevent.dom_vk_b }); tip.flushpendingcomposition(bkeyevent); // rel
easing shift key tip.keyup(shiftkeyevent); tip.setpendingcompositionstring("ab"); tip.appendclausetopendingcomposition("ab".length, tip.attr_selected_clause); tip.setcaretposition("ab".length); // this means that the composition string is converted by a keypress of "convert" key.
nsIXPConnect
it is a good idea to transfer the jsobject to some equally protected place before rel
easing the holder (i.e., use js_setproperty to make this object a property of some other jsobject).
Add to iPhoto
after doing that, we clean up after ourselves by rel
easing the cfurl object and the array, then shutting down the three libraries we used.
3D view - Firefox Developer Tools
when you click on the 3d view button, the page goes into 3d view mode; in this mode, you can see your page presented in a 3d view in which nested blocks of html are incr
easingly "tall," projecting outward from the bottom of the page.
Index - Firefox Developer Tools
2 3d view html, tools, web development, web development:tools when you click on the 3d view button, the page goes into 3d view mode; in this mode, you can see your page presented in a 3d view in which nested blocks of html are incr
easingly "tall," projecting outward from the bottom of the page.
Animation inspector example: Web Animations API - Firefox Developer Tools
content var iconkeyframeset = [ { transform: 'scale(1)', filter: 'grayscale(100%)'}, { filter: 'grayscale(100%)', offset: 0.333}, { transform: 'scale(1.5)', offset: 0.666 }, { transform: 'scale(1.5)', filter: 'grayscale(0%)'} ]; var notekeyframeset = [ { opacity: '0', width: '0'}, { opacity: '1', width: '300px'} ]; var iconkeyframeoptions = { duration: 750, fill: 'forwards',
easing: 'ease-in', enddelay: 100 } var notekeyframeoptions = { duration: 500, fill: 'forwards',
easing: 'ease-out', delay: 150 } var icon = document.getelementbyid("icon"); var note = document.getelementbyid("note"); var iconanimation = icon.animate(iconkeyframeset, iconkeyframeoptions); var noteanimation = note.animate(notekeyframeset, notekeyframeoptions); iconanimation.pause(); noteanim...
Waterfall - Firefox Developer Tools
garbage collection red markers in the waterfall represent garbage collection (gc) events, in which spidermonkey (the javascript engine in firefox) walks the heap looking for memory that's no longer reachable and subsequently rel
easing it.
Animation.pause() - Web APIs
wing/shrinking alice game, largely because animations created with the element.animate() method immediately start playing and must be paused manually if you want to avoid that: // animation of the cupcake slowly getting eaten up var nommingcake = document.getelementbyid('eat-me_sprite').animate( [ { transform: 'translatey(0)' }, { transform: 'translatey(-80%)' } ], { fill: 'forwards',
easing: 'steps(4, end)', duration: alicechange.effect.timing.duration / 2 }); // doesn't actually need to be eaten until a click event, so pause it initially: nommingcake.pause(); additionally, when resetting : // an all-purpose function to pause the animations on alice, the cupcake, and the bottle that reads "drink me." var stopplayingalice = function() { alicechange.pause(); nommingcake.paus...
Animation.play() - Web APIs
two animation.play()s, one eventlistener: // the cake has its own animation: var nommingcake = document.getelementbyid('eat-me_sprite').animate( [ { transform: 'translatey(0)' }, { transform: 'translatey(-80%)' } ], { fill: 'forwards',
easing: 'steps(4, end)', duration: alicechange.effect.timing.duration / 2 }); // pause the cake's animation so it doesn't play immediately.
Animation.playState - Web APIs
so they must be paused as soon as they are animated like so: // setting up the tear animations tears.foreach(function(el) { el.animate( tearsfalling, { delay: getrandommsrange(-1000, 1000), // randomized for each tear duration: getrandommsrange(2000, 6000), // randomized for each tear iterations: infinity,
easing: 'cubic-bezier(0.6, 0.04, 0.98, 0.335)' }); el.pause(); }); // play the tears falling when the ending needs to be shown.
AudioContext.close() - Web APIs
the close() method of the audiocontext interface closes the audio context, rel
easing any system audio resources that it uses.
AudioContext - Web APIs
audiocontext.close() closes the audio context, rel
easing any system audio resources that it uses.
BaseAudioContext.currentTime - Web APIs
the currenttime read-only property of the baseaudiocontext interface returns a double representing an ever-incr
easing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc.
BaseAudioContext - Web APIs
baseaudiocontext.currenttime read only returns a double representing an ever-incr
easing hardware time in seconds used for scheduling.
Detecting device orientation - Web APIs
incr
easingly, web-enabled devices are capable of determining their orientation; that is, they can report data indicating changes to their orientation with relation to the pull of gravity.
Document - Web APIs
dragend fired when a drag operation is being ended (by rel
easing a mouse button or hitting the escape key).
DragEvent - Web APIs
dragend this event is fired when a drag operation is being ended (by rel
easing a mouse button or hitting the escape key).
EffectTiming.delay - Web APIs
function var getrandommsrange = function(min, max) { return math.random() * (max - min) + min; } // loop through each tear tears.foreach(function(el) { // animate each tear el.animate( tearsfalling, { delay: getrandommsrange(-1000, 1000), // randomized for each tear duration: getrandommsrange(2000, 6000), // randomized for each tear iterations: infinity,
easing: "cubic-bezier(0.6, 0.04, 0.98, 0.335)" }); }); specifications specification status comment web animationsthe definition of 'delay' in that specification.
EffectTiming.direction - Web APIs
examples in the forgotten key example, alice waves her arm up and down by passing her an alternate value for her direction property: // get alice's arm, and wave it up and down document.getelementbyid("alice_arm").animate([ { transform: 'rotate(10deg)' }, { transform: 'rotate(-40deg)' } ], {
easing: 'steps(2, end)', iterations: infinity, direction: 'alternate', duration: 600 }); specifications specification status comment web animationsthe definition of 'direction' in that specification.
EffectTiming.duration - Web APIs
nction var getrandommsrange = function(min, max) { return math.random() * (max - min) + min; } // loop through each tear tears.foreach(function(el) { // animate each tear el.animate( tearsfalling, { delay: getrandommsrange(-1000, 1000), // randomized for each tear duration: getrandommsrange(2000, 6000), // randomized for each tear iterations: infinity,
easing: "cubic-bezier(0.6, 0.04, 0.98, 0.335)" }); }); specifications specification status comment web animationsthe definition of 'duration' in that specification.
EffectTiming.iterations - Web APIs
examples in the forgotten key example, alice waves her arm up and down the entire time the page is open by passing infinity as the value for her iterations property: // get alice's arm, and wave it up and down document.getelementbyid("alice_arm").animate([ { transform: 'rotate(10deg)' }, { transform: 'rotate(-40deg)' } ], {
easing: 'steps(2, end)', iterations: infinity, direction: 'alternate', duration: 600 }); specifications specification status comment web animationsthe definition of 'iterations' in that specification.
Element.scrollLeft - Web APIs
if the element's direction is rtl (right-to-left), then scrollleft is 0 when the scrollbar is at its rightmost position (at the start of the scrolled content), and then incr
easingly negative as you scroll towards the end of the content.
Gamepad.timestamp - Web APIs
values are monotonically incr
easing, meaning that they can be compared to determine the ordering of updates, as newer values will always be greater than or equal to older values.
Using the Gamepad API - Web APIs
values are monotonically incr
easing, meaning that they can be compared to determine the ordering of updates, as newer values will always be greater than or equal to older values.
IDBCursorWithValue - Web APIs
it has a position within the range, and moves in a direction that is incr
easing or decr
easing in the order of record keys.
Basic concepts - Web APIs
it has a position within the range, and moves in a direction that is incr
easing or decr
easing in the order of record keys.
IntersectionObserver - Web APIs
intersectionobserver.thresholds read only a list of thresholds, sorted in incr
easing numeric order, where each threshold is a ratio of intersection area to bounding box area of an observed target.
MouseEvent.button - Web APIs
this property only guarantees to indicate which buttons are pressed during events caused by pressing or rel
easing one or multiple buttons.
MouseEvent.buttons - Web APIs
the mouseevent.buttons property indicates the state of buttons pressed during any kind of mouse event, while the mouseevent.button property only guarantees the correct value for mouse events caused by pressing or rel
easing one or multiple buttons.
NodeIterator.detach() - Web APIs
originally, it detached the nodeiterator from the set over which it iterates, rel
easing any resources used by the set and setting the iterator's state to invalid.
PannerNode.rolloffFactor - Web APIs
example this example demonstrates how different rollofffactor values affect how the volume of the test tone decreases with incr
easing distance from the listener: const context = new audiocontext(); // all our test tones will last this many seconds const note_length = 4; // this is how far we'll move the sound const z_distance = 20; // this function creates a graph for the test tone with a given rollofffactor // and schedules it to move away from the listener along the z (depth-wise) axis // at the given start time, resulting ...
RTCConfiguration.certificates - Web APIs
although a given dtls connection only uses a single certificate, providing multiple options in the certificates list may improve the odds of establishing a connection by incr
easing the chances a mutually-compatible encryption algorithm and key size may be found.
RTCOutboundRtpStreamStats.pliCount - Web APIs
this is often achieved by methods such as incr
easing the compression or lowering resolution, although the mechanisms available to reduce the bit rate of the stream vary from codec to codec.
RTCRtpStreamStats.pliCount - Web APIs
this is often achieved by methods such as incr
easing the compression, lowering resolution, or finding other ways to reduce the bit rate of the stream.
Screen Wake Lock API - Web APIs
st a wake lock const requestwakelock = async () => { try { wakelock = await navigator.wakelock.request('screen'); // change up our interface to reflect wake lock active statuselem.textcontent = 'wake lock is active!'; } catch (err) { // if wake lock request fails - usually system related, such as battery statuselem.textcontent = `${err.name}, ${err.message}`; } } rel
easing wake lock the following example shows how to release the previously acquired wake lock.
Using Touch Events - Web APIs
the state changes are starting contact with a touch surface, moving a touch point while maintaining contact with the surface, rel
easing a touch point and canceling a touch event.
WakeLockSentinel - Web APIs
rel
easing all wakelocksentinel instances of a given wake lock type will cause the underlying platform wake lock to be released.
WebGL best practices - Web APIs
(conceptually rel
easing the handle's ref-pointer to the object) only once the object is unused in the implementation is it actually freed.
Lighting a WebXR setting - Web APIs
even if the surface is flat, the closest point to the light source is the center, with rays becoming incr
easingly long as the angle away from the normal changes.
Web Authentication API - Web APIs
this resolves significant security problems related to phishing, data breaches, and attacks against sms texts or other second-factor authentication methods while at the same time significantly incr
easing ease of use (since users don't have to manage dozens of incr
easingly complicated passwords).
Using Web Workers - Web APIs
dividing tasks among multiple workers as multi-core computers become incr
easingly common, it's often useful to divide computationally complex tasks among multiple workers, which may then perform those tasks on multiple-processor cores.
Window - Web APIs
globaleventhandlers.onkeyup called when you finish rel
easing any key.
Web applications and ARIA FAQ - Accessibility
more detailed browser compatibility charts are available from multiple sources: caniuse.com the paciello group assistive technologies assistive technologies are incr
easingly adopting aria.
Basic Shapes - CSS: Cascading Style Sheets
in the live example you can play with incr
easing or decr
easing the size of the circle by changing the size of the radius, moving the circle around with the position value, or setting a reference box as we did for inset().
offset-path - CSS: Cascading Style Sheets
s */ offset-path: margin-box; offset-path: stroke-box; /* global values */ offset-path: inherit; offset-path: initial; offset-path: unset; values ray() taking up to three values, defines a path that is a line segment starting from the position of the box and proceeds in the direction defined by the specified angle similar to the css gradient angle where 0deg is up, with positive angles incr
easing in the clockwise direction, with the size value being similar to the css radial gradient size values from closest-side to farthest-corner, and the keyterm contain.
Guide to Web APIs - Developer guides
the web includes a wide array of apis that can be used from javascript to build incr
easingly more powerful and capable applications, running either on the web, locally, or through technology such as node.js, on a server.
Creating a cross-browser video player - Developer guides
volume volinc.addeventlistener('click', function(e) { altervolume('+'); }); voldec.addeventlistener('click', function(e) { altervolume('-'); }); two volume control buttons have been defined, one for incr
easing the volume and another for decr
easing it.
HTML5 - Developer guides
new semantic elements beside sections, media and forms elements, there are numerous new elements, like <mark>, <figure>, <figcaption>, <data>, <time>, <output>, <progress>, or <meter> and <main>, incr
easing the number of valid html5 elements.
Index - Developer guides
28 guide to web apis api, guide, landing, web the web includes a wide array of apis that can be used from javascript to build incr
easingly more powerful and capable applications, running either on the web, locally, or through technology such as node.js, on a server.
The HTML autocomplete attribute - HTML: Hypertext Markup Language
examples <div> <label for="cc-number">enter your credit card number</label> <input name="cc-number" id="cc-number" autocomplete="off"> </div> administrative levels in addresses the four administrative level fields (address-level1 through address-level4) describe the address in terms of incr
easing levels of precision within the country in which the address is located.
<ol>: The Ordered List element - HTML: Hypertext Markup Language
for example: steps in a recipe turn-by-turn directions the list of ingredients in decr
easing proportion on nutrition information labels to determine which list to use, try changing the order of the list items; if the meaning changes, use the <ol> element — otherwise you can use <ul>.
Global attributes - HTML: Hypertext Markup Language
ocusable, but should not be reachable via sequential keyboard navigation; 0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention; a positive value means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the incr
easing value of the tabindex.
HTTP caching - HTTP
cache-control: no-store cache but revalidate a cache will send the request to the origin server for validation before rel
easing a cached copy.
Pragma - HTTP
forces caches to submit the request to the origin server for validation before rel
easing a cached copy.
Examples - MathML
below you'll find some examples you can look at to help you to understand how to use mathml to display incr
easingly complex mathematical concepts in web content.
MathML documentation index - MathML
3 examples beginner, example, guide, mathml, needsbeginnerupdate below you'll find some examples you can look at to help you to understand how to use mathml to display incr
easingly complex mathematical concepts in web content.
Web media technologies
over the years, the web's ability to present, create, and manage audio, video, and other media has grown at an incr
easing pace.
Add to Home screen - Progressive web apps (PWAs)
to enable your app to be added to a home screen, it needs the following: to be served over https — the web is incr
easingly being moved in a more secure direction, and many modern web technologies (a2hs included) will work only on secure contexts.