How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • //...
    angular.module('app', []);
    angular.element(document).ready(() => angular.bootstrap(document, ['app']));
    
    
    
    //...
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /vmware/clarity mit
    0
  • //...
    import angular from 'angular';
    
    import app from './app';
    
    nprogress.start();
    
    angular.element(document).ready(() => {
      angular.bootstrap(document, ['Tested-Admin']);
    });
    
    app.run(['amMoment', amMoment => {
      amMoment.changeLocale('ko');
      angular.element(document.querySelector('#container')).css('visibility', 'visible');
      nprogress.done();
    }]);
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /CatsMiaow/Tested mit
    0
  • //...
    import angular from 'angular';
    import './app';
    
    angular.element(document).ready(() => {
    	angular.bootstrap(document.body, ['lisk_explorer']);
    });
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /LiskHQ/lisk-explorer gpl-3.0
    0
  • import angular from 'angular';
    import '@ovh-ux/ng-translate-async-loader';
    import '@uirouter/angularjs';
    import 'angular-translate';
    import '@ovh-ux/ui-kit';
    import 'ovh-api-services';
    
    import component from './volume-edit.component';
    
    const moduleName = 'ovhManagerPciStoragesBlocksBlockVolumeEdit';
    
    angular
      .module(moduleName, [
        'oui',
        'ngTranslateAsyncLoader',
        'ovh-api-services',
        'pascalprecht.translate',
        'ui.router',
      ])
      .component('pciProjectStorageVolumeEdit', component)
      .run(/* @ngTranslationsInject:json ./translations */);
    
    export default moduleName;
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /ovh/manager BSD-3-Clause
    0
  • import angular from 'angular';
    import 'angular-translate';
    import '@ovh-ux/ui-kit';
    
    import component from './notebook-attach.component';
    
    const moduleName = 'ovhManagerPciProjectNotebooksNotebookAttach';
    
    angular
      .module(moduleName, ['oui', 'pascalprecht.translate'])
      .component('notebookAttach', component)
      .run(/* @ngTranslationsInject:json ./translations */);
    
    export default moduleName;
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /ovh/manager BSD-3-Clause
    0
  • import angular from 'angular';
    import 'angular-translate';
    
    import component from './dedicatedCloud-user-rights-edit.component';
    
    const moduleName = 'ovhManagerDedicatedCloudUserRightsEdit';
    
    angular
      .module(moduleName, [])
      .component('dedicatedCloudUserRightsEdit', component)
      .run(/* @ngTranslationsInject:json ./translations */);
    
    export default moduleName;
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /ovh/manager BSD-3-Clause
    0
  • import angular from 'angular';
    import 'angular-translate';
    
    import component from './dedicatedCloud-user-delete.component';
    
    const moduleName = 'ovhManagerDedicatedCloudUserDelete';
    
    angular
      .module(moduleName, [])
      .component('dedicatedCloudUserDelete', component)
      .run(/* @ngTranslationsInject:json ./translations */);
    
    export default moduleName;
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /ovh/manager BSD-3-Clause
    0
  • import angular from 'angular';
    import 'angular-translate';
    import '@ovh-ux/ui-kit';
    
    import component from './component';
    
    const moduleName = 'ovhManagerAnthosComponentsOrderPublicIp';
    
    angular
      .module(moduleName, ['pascalprecht.translate', 'oui'])
      .component('orderPublicIp', component)
      .run(/* @ngTranslationsInject:json ./translations */);
    
    export default moduleName;
    
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">import</span> angular</code></pre>
    /ovh/manager BSD-3-Clause
    0
  • import { NgModule } from '@angular/core';
    import { Routes, RouterModule } from '@angular/router';
    
    import { CustomersComponent } from './customers.component';
    
    
    const routes: Routes = [
      {
        path: '',
        component: CustomersComponent
      }
    ];
    
    @NgModule({
      imports: [RouterModule.forChild(routes)],
      exports: [RouterModule]
    })
    export class CustomersRoutingModule { }
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token punctuation">(</span>alias<span class="token punctuation">)</span> <span class="token keyword">interface</span> <span class="token class-name">NgModule</span> <span class="token punctuation">(</span>alias<span class="token punctuation">)</span> <span class="token keyword">const</span> NgModule<span class="token operator">:</span> NgModuleDecorator <span class="token keyword">import</span> NgModule</code><div class="typing-tooltip-markup">Type of the NgModule metadata.<br><br><em>@publicApi</em><br><br><em>@Annotation</em><br><br><em>@publicApi</em></div></pre>
    Docs
    0
  • import {
      Animated,
      View,
      Text,
      Pressable,
      Button,
      StyleSheet,
    } from 'react-native';
    import { useTheme } from '@react-navigation/native';
    import { useCardAnimation } from '@react-navigation/stack';
    
    function ModalScreen({ navigation }) {
      const { colors } = useTheme();
      const { current } = useCardAnimation();
    
      return (
        <View
          style={{
            flex: 1,
            alignItems: 'center',
            justifyContent: 'center',
          }}
        >
          <Pressable
            style={[
              StyleSheet.absoluteFill,
              { backgroundColor: 'rgba(0, 0, 0, 0.5)' },
            ]}
            onPress={navigation.goBack}
          />
          &lt;Animated.View
            style={{
              padding: 16,
              width: '90%',
              maxWidth: 400,
              borderRadius: 3,
              backgroundColor: colors.card,
              transform: [
                {
                  scale: current.progress.interpolate({
                    inputRange: [0, 1],
                    outputRange: [0.9, 1],
                    extrapolate: 'clamp',
                  }),
                },
              ],
            }}
          >
            <Text>
              Mise en place is a French term that literally means “put in place.” It
              also refers to a way cooks in professional kitchens and restaurants
              set up their work stations—first by gathering all ingredients for a
              recipes, partially preparing them (like measuring out and chopping),
              and setting them all near each other. Setting up mise en place before
              cooking is another top tip for home cooks, as it seriously helps with
              organization. It’ll pretty much guarantee you never forget to add an
              ingredient and save you time from running back and forth from the
              pantry ten times.
            </Text>
            <Button
              title="Okay"
              color={colors.primary}
              style={{ alignSelf: 'flex-end' }}
              onPress={navigation.goBack}
            />
          </Animated.View>
        </View>
      );
    }
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token punctuation">(</span>alias<span class="token punctuation">)</span> <span class="token keyword">namespace</span> Animated <span class="token keyword">import</span> Animated</code></pre>
    Docs
    0
  • const {rerender} = await render(Counter, {componentProperties: {count: 4}})
    
    expect(screen.getByTestId('count-value').textContent).toBe('4')
    
    rerender({count: 7})
    
    expect(screen.getByTestId('count-value').textContent).toBe('7')
    <pre class="typing-tooltip"><code data-language="javascript" class="language-javascript"><span class="token keyword">const</span> rerender<span class="token operator">:</span> <span class="token builtin">any</span></code></pre>
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples